diff options
author | Joe Orton <jorton@apache.org> | 2004-03-01 16:51:25 +0100 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2004-03-01 16:51:25 +0100 |
commit | 0dbf5a122eda041e1396a7ddb00900886998e708 (patch) | |
tree | c9cfcb25e3763b6594652cea5c0b3b9b02d1a4e5 /modules | |
parent | update transformation (diff) | |
download | apache2-0dbf5a122eda041e1396a7ddb00900886998e708.tar.xz apache2-0dbf5a122eda041e1396a7ddb00900886998e708.zip |
* 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
Diffstat (limited to 'modules')
-rw-r--r-- | modules/metadata/mod_headers.c | 7 |
1 files changed, 1 insertions, 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; |