diff src/http/ngx_http_script.c @ 1406:03341711f9a2

use %v for ngx_variable_value_t in ngx_sprintf(), this fixes nginx on FreeBSD/sparc64
author Igor Sysoev <igor@sysoev.ru>
date Mon, 20 Aug 2007 09:57:19 +0000
parents a9715f8f17a5
children f497ed7682a7 fbabcf02f65e
line wrap: on
line diff
--- 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
 
     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++;