[nginx] svn commit: r4417 - trunk/src/http/modules
vbart at nginx.com
vbart at nginx.com
Mon Jan 30 09:02:30 UTC 2012
Author: vbart
Date: 2012-01-30 09:02:29 +0000 (Mon, 30 Jan 2012)
New Revision: 4417
Modified:
trunk/src/http/modules/ngx_http_limit_req_module.c
Log:
Limit req: error messages fixed.
Modified: trunk/src/http/modules/ngx_http_limit_req_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_limit_req_module.c 2012-01-30 07:39:47 UTC (rev 4416)
+++ trunk/src/http/modules/ngx_http_limit_req_module.c 2012-01-30 09:02:29 UTC (rev 4417)
@@ -691,8 +691,8 @@
if (ctx == NULL) {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "no variable is defined for limit_req_zone \"%V\"",
- &cmd->name);
+ "no variable is defined for %V \"%V\"",
+ &cmd->name, &name);
return NGX_CONF_ERROR;
}
@@ -708,8 +708,8 @@
ctx = shm_zone->data;
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "limit_req_zone \"%V\" is already bound to variable \"%V\"",
- &value[1], &ctx->var);
+ "%V \"%V\" is already bound to variable \"%V\"",
+ &cmd->name, &name, &ctx->var);
return NGX_CONF_ERROR;
}
More information about the nginx-devel
mailing list