]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove duplicate config merging
authorRuediger Pluem <rpluem@apache.org>
Sat, 18 Oct 2025 10:34:37 +0000 (10:34 +0000)
committerRuediger Pluem <rpluem@apache.org>
Sat, 18 Oct 2025 10:34:37 +0000 (10:34 +0000)
The removed ternary does the same as the following macro
call to AP_CORE_MERGE_FLAG.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1929201 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index f17113b2b8d7fce466e744109852c862a4359ab2..11e8a821c745570e9dbc6e94d33d3fda752f3524 100644 (file)
@@ -624,10 +624,6 @@ static void *merge_core_server_configs(apr_pool_t *p, void *basev, void *virtv)
                                   ? virt->flush_max_pipelined
                                   : base->flush_max_pipelined;
 
-    conf->strict_host_check = (virt->strict_host_check != AP_CORE_CONFIG_UNSET)
-                              ? virt->strict_host_check 
-                              : base->strict_host_check;
-
     AP_CORE_MERGE_FLAG(strict_host_check, conf, base, virt);
     AP_CORE_MERGE_FLAG(merge_slashes, conf, base, virt);