summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/ngx_http_limit_zone_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-09-22 19:18:36 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-09-22 19:18:36 +0000
commit1f1bdc12b3aa1af224909ef8585a77c86d9d1ac5 (patch)
tree3607bd1257ed28fde6b99c60f36da330643df1bd /src/http/modules/ngx_http_limit_zone_module.c
parent65567a0c47415880af1099207ccdf619eda33e19 (diff)
downloadnginx-1f1bdc12b3aa1af224909ef8585a77c86d9d1ac5.tar.gz
nginx-1f1bdc12b3aa1af224909ef8585a77c86d9d1ac5.tar.bz2
r1407 merge:
use %v for ngx_variable_value_t in ngx_sprintf(), this fixes nginx on FreeBSD/sparc64
Diffstat (limited to 'src/http/modules/ngx_http_limit_zone_module.c')
-rw-r--r--src/http/modules/ngx_http_limit_zone_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_limit_zone_module.c b/src/http/modules/ngx_http_limit_zone_module.c
index 17643e174..a0be6f107 100644
--- a/src/http/modules/ngx_http_limit_zone_module.c
+++ b/src/http/modules/ngx_http_limit_zone_module.c
@@ -141,7 +141,7 @@ ngx_http_limit_zone_handler(ngx_http_request_t *r)
if (len > 255) {
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
"the value of the \"%V\" variable "
- "is more than 255 bytes: \"%V\"",
+ "is more than 255 bytes: \"%v\"",
&ctx->var, vv);
return NGX_DECLINED;
}