Limit req: unbreak compilation with MSVC.

This commit is contained in:
Maxim Dounin 2012-01-30 13:19:25 +00:00
parent fbf7a0a48a
commit 11cc9dac44

View File

@ -166,6 +166,10 @@ ngx_http_limit_req_handler(ngx_http_request_t *r)
rc = NGX_DECLINED;
#if (NGX_SUPPRESS_WARN)
limit = NULL;
#endif
for (n = 0; n < lrcf->limits.nelts; n++) {
limit = &limits[n];