Presumed typo: == operator doesn't return a string
authorJacob Welsh <jwelsh@sinenomine.net>
Tue, 29 Oct 2013 19:45:36 +0000 (15:45 -0400)
committerJacob Welsh <jwelsh@sinenomine.net>
Tue, 29 Oct 2013 21:34:08 +0000 (17:34 -0400)
mod_waklog.c

index 646e800..ce3ef4c 100644 (file)
@@ -297,7 +297,7 @@ set_auth ( server_rec *s, request_rec *r, int self, char *principal, char *keyta
 #ifdef APACHE2       
        if ( ! ( r && r->connection && r->user )) {
          log_error(APLOG_MARK, APLOG_ERR, 0, s, "mod_waklog: self authentication selected, but no data available");
-         log_error(APLOG_MARK, APLOG_ERR, 0, s, "mod_waklog: r->user=%s", (r->user==NULL ? "null" : r->user==NULL));
+         log_error(APLOG_MARK, APLOG_ERR, 0, s, "mod_waklog: r->user=%s", (r->user==NULL ? "null" : r->user));
          return -1;
        }