comparison src/http/modules/ngx_http_limit_zone_module.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 defdce84b172
children 4fc402c3ec73
comparison
equal deleted inserted replaced
1405:fdd064faf26a 1406:03341711f9a2
139 } 139 }
140 140
141 if (len > 255) { 141 if (len > 255) {
142 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, 142 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
143 "the value of the \"%V\" variable " 143 "the value of the \"%V\" variable "
144 "is more than 255 bytes: \"%V\"", 144 "is more than 255 bytes: \"%v\"",
145 &ctx->var, vv); 145 &ctx->var, vv);
146 return NGX_DECLINED; 146 return NGX_DECLINED;
147 } 147 }
148 148
149 r->main->limit_zone_set = 1; 149 r->main->limit_zone_set = 1;