From ea86cb0cfaff836538b4d063348d1c8c0a9e570a Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Mon, 2 Feb 2015 19:31:37 +0000 Subject: [PATCH] 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 --- modules/aaa/mod_auth_basic.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/aaa/mod_auth_basic.c b/modules/aaa/mod_auth_basic.c index a1ef9b267c..58ea021462 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; -- 2.50.1