httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r1061669 - /httpd/httpd/trunk/server/core.c
Date Fri, 21 Jan 2011 08:01:09 GMT
Author: rpluem
Date: Fri Jan 21 08:01:09 2011
New Revision: 1061669

URL: http://svn.apache.org/viewvc?rev=1061669&view=rev
Log:
* Only unset if we have a table. This can happen if undefine occurs before define.

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

Modified: httpd/httpd/trunk/server/core.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core.c?rev=1061669&r1=1061668&r2=1061669&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core.c (original)
+++ httpd/httpd/trunk/server/core.c Fri Jan 21 08:01:09 2011
@@ -1243,7 +1243,9 @@ static const char *unset_define(cmd_parm
         }
     }
 
-    apr_table_unset(server_config_defined_vars, name);
+    if (server_config_defined_vars) {
+        apr_table_unset(server_config_defined_vars, name);
+    }
 
     return NULL;
 }



Mime
View raw message