httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1359881 - /httpd/httpd/trunk/server/config.c
Date Tue, 10 Jul 2012 20:10:27 GMT
Author: covener
Date: Tue Jul 10 20:10:27 2012
New Revision: 1359881

URL: http://svn.apache.org/viewvc?rev=1359881&view=rev
Log:
style in the neighborhood of a bug

Modified:
    httpd/httpd/trunk/server/config.c

Modified: httpd/httpd/trunk/server/config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/config.c?rev=1359881&r1=1359880&r2=1359881&view=diff
==============================================================================
--- httpd/httpd/trunk/server/config.c (original)
+++ httpd/httpd/trunk/server/config.c Tue Jul 10 20:10:27 2012
@@ -845,9 +845,11 @@ static const char *invoke_cmd(const comm
     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) {



Mime
View raw message