Mercurial > hg > nginx
changeset 4416:8156a9bfc044
Limit req: error messages fixed.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 30 Jan 2012 09:02:29 +0000 |
parents | 30eff7580d0c |
children | 9e9d2e06f933 |
files | src/http/modules/ngx_http_limit_req_module.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_limit_req_module.c Mon Jan 30 07:39:47 2012 +0000 +++ b/src/http/modules/ngx_http_limit_req_module.c Mon Jan 30 09:02:29 2012 +0000 @@ -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; }