]> granicus.if.org Git - apache/commitdiff
Fix two typos in the last patch... compiles/tests clean... Greg, please
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 22 Oct 2001 04:36:46 +0000 (04:36 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 22 Oct 2001 04:36:46 +0000 (04:36 +0000)
  run this against Apache.org until the first core and post the results.

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

server/core.c

index c906fd6f4852ae4d3d0f142c23a040ce24efc0ef..d62f8c38efa7210b6838714c960699a0e6917a21 100644 (file)
@@ -228,7 +228,7 @@ static void *merge_core_dir_configs(apr_pool_t *a, void *basev, void *newv)
     if (conf->response_code_strings == NULL) {
        conf->response_code_strings = new->response_code_strings;
     }
-    else (new->response_code_strings != NULL) {
+    else if (new->response_code_strings != NULL) {
         /* If we merge, the merge-result must have it's own array 
          */
        conf->response_code_strings = apr_palloc(a,
@@ -286,7 +286,7 @@ static void *merge_core_dir_configs(apr_pool_t *a, void *basev, void *newv)
     if (!conf->sec_file) {
         conf->sec_file = new->sec_file;
     }
-    else if (new->sec_file)
+    else if (new->sec_file) {
         /* If we merge, the merge-result must have it's own array 
          */
         conf->sec_file = apr_array_append(a, base->sec_file, new->sec_file);