From 0dbf5a122eda041e1396a7ddb00900886998e708 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Mon, 1 Mar 2004 15:51:25 +0000 Subject: [PATCH] * 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 --- modules/metadata/mod_headers.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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; -- 2.50.1