]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
style in the neighborhood of a bug
authorEric Covener <covener@apache.org>
Tue, 10 Jul 2012 20:10:27 +0000 (20:10 +0000)
committerEric Covener <covener@apache.org>
Tue, 10 Jul 2012 20:10:27 +0000 (20:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1359881 13f79535-47bb-0310-9956-ffa450edef68

server/config.c

index 7585704682e605fe148a064cad5e94c7d3ab049f..fb07623b0aece1b25f8892e3c70be59f02ab03da 100644 (file)
@@ -845,9 +845,11 @@ static const char *invoke_cmd(const command_rec *cmd, cmd_parms *parms,
     const char *errmsg = NULL;
 
     /** Have we been provided a list of acceptable directives? */
-    if(parms->override_list != NULL)
-         if(apr_table_get(parms->override_list, cmd->name) != NULL)
+    if (parms->override_list != NULL) { 
+         if (apr_table_get(parms->override_list, cmd->name) != NULL) { 
               override_list_ok = 1;
+         }
+    }
 
     if ((parms->override & cmd->req_override) == 0 && !override_list_ok) {
         if (parms->override & NONFATAL_OVERRIDE) {