From: Joe Orton Date: Mon, 1 Mar 2004 15:51:25 +0000 (+0000) Subject: * modules/metadata/mod_headers.c (header_inout_cmd): Remove redundant X-Git-Tag: pre_ajp_proxy~595 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0dbf5a122eda041e1396a7ddb00900886998e708;p=apache * modules/metadata/mod_headers.c (header_inout_cmd): Remove redundant conditional. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102832 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/metadata/mod_headers.c b/modules/metadata/mod_headers.c index 443a2de366..fbcb504169 100644 --- a/modules/metadata/mod_headers.c +++ b/modules/metadata/mod_headers.c @@ -386,12 +386,7 @@ static const char *header_inout_cmd(hdr_inout inout, cmd_parms *cmd, break; } - if (cmd->path) { - new = (header_entry *) apr_array_push(fixup); - } - else { - new = (header_entry *) apr_array_push(fixup); - } + new = (header_entry *) apr_array_push(fixup); if (!strcasecmp(action, "set")) new->action = hdr_set;