diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-08-20 09:57:19 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-08-20 09:57:19 +0000 |
commit | 0d4b372e44743db22e72642fa2fe56a488ce3ed6 (patch) | |
tree | 355f4a5adc7a755979dce199eede0b663cdf88a5 /src/http/modules/ngx_http_limit_zone_module.c | |
parent | d4ff5616814b2632f0c6f5fe84b38a57029e80aa (diff) | |
download | nginx-0d4b372e44743db22e72642fa2fe56a488ce3ed6.tar.gz nginx-0d4b372e44743db22e72642fa2fe56a488ce3ed6.zip |
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.c | 2 |
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; } |