Skip to content

Commit 1790659

Browse files
committed
Statement simplification
1 parent c796804 commit 1790659

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

apache2/re.c

+1-6
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,7 @@ static int fetch_target_exception(msre_rule *rule, modsec_rec *msr, msre_var *va
167167
}
168168
match = 1;
169169
}
170-
} else if (value == NULL && myvalue == NULL) {
171-
if (msr->txcfg->debuglog_level >= 9) {
172-
msr_log(msr, 9, "fetch_target_exception: Target %s will not be processed.", target);
173-
}
174-
match = 1;
175-
} else if (value == NULL && myvalue != NULL) {
170+
} else {
176171
if (msr->txcfg->debuglog_level >= 9) {
177172
msr_log(msr, 9, "fetch_target_exception: Target %s will not be processed.", target);
178173
}

0 commit comments

Comments
 (0)