]> granicus.if.org Git - apache/commitdiff
Fix cut and paste typo in error message + remove empty lines to be consistent
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 2 Feb 2015 19:31:37 +0000 (19:31 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 2 Feb 2015 19:31:37 +0000 (19:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1656549 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_auth_basic.c

index a1ef9b267c383724846f3978586ec3a5651cc1ef..58ea021462fee5331a36081190acd2b4ca0fd2c1 100644 (file)
@@ -146,14 +146,11 @@ static const char *add_basic_fake(cmd_parms * cmd, void *config,
     const char *err;
 
     if (!strcasecmp(user, "off")) {
-
         conf->fakeuser = NULL;
         conf->fakepass = NULL;
         conf->fake_set = 1;
-
     }
     else {
-
         /* if password is unspecified, set it to the fixed string "password" to
          * be compatible with the behaviour of mod_ssl.
          */
@@ -174,11 +171,10 @@ static const char *add_basic_fake(cmd_parms * cmd, void *config,
                         &err, NULL);
         if (err) {
             return apr_psprintf(cmd->pool,
-                    "Could not parse fake password expression '%s': %s", user,
+                    "Could not parse fake password expression '%s': %s", pass,
                     err);
         }
         conf->fake_set = 1;
-
     }
 
     return NULL;