httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1656122 - /httpd/httpd/trunk/server/core.c
Date Fri, 30 Jan 2015 21:11:37 GMT
Author: covener
Date: Fri Jan 30 21:11:36 2015
New Revision: 1656122

URL: http://svn.apache.org/r1656122
Log:
correct copy/paste error, use cmd->cmd->name

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=1656122&r1=1656121&r2=1656122&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core.c (original)
+++ httpd/httpd/trunk/server/core.c Fri Jan 30 21:11:36 2015
@@ -1333,7 +1333,7 @@ static const char *set_define(cmd_parms
                               const char *name, const char *value)
 {
     if (cmd->parent && strcasecmp(cmd->parent->directive, "<VirtualHost"))
{ 
-        return apr_pstrcat(cmd->pool, "Define is not valid in ", cmd->parent->directive,
" context", NULL);
+        return apr_pstrcat(cmd->pool, cmd->cmd->name, " is not valid in ", cmd->parent->directive,
" context", NULL);
     }
 
     if (ap_strchr_c(name, ':') != NULL)
@@ -1360,7 +1360,7 @@ static const char *unset_define(cmd_parm
     int i;
     char **defines;
     if (cmd->parent && strcasecmp(cmd->parent->directive, "<VirtualHost"))
{ 
-        return apr_pstrcat(cmd->pool, "Define is not valid in ", cmd->parent->directive,
" context", NULL);
+        return apr_pstrcat(cmd->pool, cmd->cmd->name, " is not valid in ", cmd->parent->directive,
" context", NULL);
     }
 
     if (ap_strchr_c(name, ':') != NULL)



Mime
View raw message