aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_script.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-08-20 09:57:19 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-08-20 09:57:19 +0000
commit0d4b372e44743db22e72642fa2fe56a488ce3ed6 (patch)
tree355f4a5adc7a755979dce199eede0b663cdf88a5 /src/http/ngx_http_script.c
parentd4ff5616814b2632f0c6f5fe84b38a57029e80aa (diff)
downloadnginx-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/ngx_http_script.c')
-rw-r--r--src/http/ngx_http_script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c
index 63959498b..945602178 100644
--- a/src/http/ngx_http_script.c
+++ b/src/http/ngx_http_script.c
@@ -1191,7 +1191,7 @@ ngx_http_script_var_code(ngx_http_script_engine_t *e)
if (value && !value->not_found) {
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0,
- "http script var: \"%V\"", value);
+ "http script var: \"%v\"", value);
*e->sp = *value;
e->sp++;