You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2010/12/30 18:46:06 UTC

svn commit: r1053954 - /httpd/httpd/trunk/server/core.c

Author: sf
Date: Thu Dec 30 17:46:06 2010
New Revision: 1053954

URL: http://svn.apache.org/viewvc?rev=1053954&view=rev
Log:
eliminate another var named 'c' which is not a conn_rec

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=1053954&r1=1053953&r2=1053954&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core.c (original)
+++ httpd/httpd/trunk/server/core.c Thu Dec 30 17:46:06 2010
@@ -1954,7 +1954,6 @@ static const char *filesection(cmd_parms
     core_dir_config *conf;
     ap_regex_t *r = NULL;
     const command_rec *thiscmd = cmd->cmd;
-    core_dir_config *c = mconfig;
     ap_conf_vector_t *new_file_conf = ap_create_per_dir_config(cmd->pool);
     const char *err = ap_check_cmd_context(cmd,
                                            NOT_IN_LOCATION | NOT_IN_LIMIT);
@@ -2015,7 +2014,7 @@ static const char *filesection(cmd_parms
     conf->d_is_fnmatch = apr_fnmatch_test(conf->d) != 0;
     conf->r = r;
 
-    ap_add_file_conf(c, new_file_conf);
+    ap_add_file_conf((core_dir_config *)mconfig, new_file_conf);
 
     if (*arg != '\0') {
         return apr_pstrcat(cmd->pool, "Multiple ", thiscmd->name,
@@ -2035,7 +2034,6 @@ static const char *ifsection(cmd_parms *
     char *old_path = cmd->path;
     core_dir_config *conf;
     const command_rec *thiscmd = cmd->cmd;
-    core_dir_config *c = mconfig;
     ap_conf_vector_t *new_file_conf = ap_create_per_dir_config(cmd->pool);
     const char *err = ap_check_cmd_context(cmd,
                                            NOT_IN_LOCATION | NOT_IN_LIMIT);
@@ -2080,7 +2078,7 @@ static const char *ifsection(cmd_parms *
     conf->d_is_fnmatch = 0;
     conf->r = NULL;
 
-    ap_add_file_conf(c, new_file_conf);
+    ap_add_file_conf((core_dir_config *)mconfig, new_file_conf);
 
     if (*arg != '\0') {
         return apr_pstrcat(cmd->pool, "Multiple ", thiscmd->name,