Mercurial > hg > nginx
comparison 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 |
comparison
equal
deleted
inserted
replaced
1405:fdd064faf26a | 1406:03341711f9a2 |
---|---|
1189 | 1189 |
1190 value = ngx_http_get_flushed_variable(e->request, code->index); | 1190 value = ngx_http_get_flushed_variable(e->request, code->index); |
1191 | 1191 |
1192 if (value && !value->not_found) { | 1192 if (value && !value->not_found) { |
1193 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, | 1193 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0, |
1194 "http script var: \"%V\"", value); | 1194 "http script var: \"%v\"", value); |
1195 | 1195 |
1196 *e->sp = *value; | 1196 *e->sp = *value; |
1197 e->sp++; | 1197 e->sp++; |
1198 | 1198 |
1199 return; | 1199 return; |