]> granicus.if.org Git - apache/commitdiff
Remove redundant check (already performed the line before)
authorChristophe Jaillet <jailletc36@apache.org>
Sun, 15 Dec 2013 10:30:35 +0000 (10:30 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sun, 15 Dec 2013 10:30:35 +0000 (10:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1551012 13f79535-47bb-0310-9956-ffa450edef68

modules/session/mod_session_crypto.c

index 79a9ca3b729027f24ea8945cbfb090bfbc86a321..89d0fa8a1041040d2c0637b32c514fca6c60a6ab 100644 (file)
@@ -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);