summaryrefslogtreecommitdiffstats
path: root/modules/session
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2013-12-15 11:30:35 +0100
committerChristophe Jaillet <jailletc36@apache.org>2013-12-15 11:30:35 +0100
commit6ae5c8f6f3c4fbdc11bc95f9c12dfd8f1c9e49a4 (patch)
treed6275acc1e9c0b2ac650eb5ef22009e43cb5ea3e /modules/session
parent'ap_getword_conf' can not return NULL (diff)
downloadapache2-6ae5c8f6f3c4fbdc11bc95f9c12dfd8f1c9e49a4.tar.xz
apache2-6ae5c8f6f3c4fbdc11bc95f9c12dfd8f1c9e49a4.zip
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
Diffstat (limited to 'modules/session')
-rw-r--r--modules/session/mod_session_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/session/mod_session_crypto.c b/modules/session/mod_session_crypto.c
index 79a9ca3b72..89d0fa8a10 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);