From: Christophe Jaillet Date: Sun, 15 Dec 2013 10:30:35 +0000 (+0000) Subject: Remove redundant check (already performed the line before) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e41667e633aa484bb31e401073f09af53ff4d3b;p=thirdparty%2Fapache%2Fhttpd.git Remove redundant check (already performed the line before) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1551012 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/session/mod_session_crypto.c b/modules/session/mod_session_crypto.c index 79a9ca3b729..89d0fa8a104 100644 --- a/modules/session/mod_session_crypto.c +++ b/modules/session/mod_session_crypto.c @@ -586,7 +586,7 @@ static const char *set_crypto_passphrase_file(cmd_parms *cmd, void *config, while (!(ap_cfg_getline(buffer, sizeof(buffer), file))) { args = buffer; while (*(arg = ap_getword_conf(cmd->pool, &args)) != '\0') { - if (*arg == '#' || *arg == 0) { + if (*arg == '#') { break; } set_crypto_passphrase(cmd, config, arg);