From: Christophe Jaillet Date: Mon, 2 Feb 2015 19:31:37 +0000 (+0000) Subject: Fix cut and paste typo in error message + remove empty lines to be consistent X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9b973c8d65cd4be487c7efd6706f16934d9360c;p=thirdparty%2Fapache%2Fhttpd.git Fix cut and paste typo in error message + remove empty lines to be consistent git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1656549 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/mod_auth_basic.c b/modules/aaa/mod_auth_basic.c index a1ef9b267c3..58ea021462f 100644 --- a/modules/aaa/mod_auth_basic.c +++ b/modules/aaa/mod_auth_basic.c @@ -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;