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)
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)