Mercurial > hg > nginx
comparison src/http/modules/ngx_http_limit_req_module.c @ 4424:aacd7356c197
Limit req: unbreak compilation with MSVC.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 30 Jan 2012 13:19:25 +0000 |
parents | 9ce48f9eb85b |
children | 95ab6658654a |
comparison
equal
deleted
inserted
replaced
4423:196c3dacff0d | 4424:aacd7356c197 |
---|---|
164 | 164 |
165 excess = 0; | 165 excess = 0; |
166 | 166 |
167 rc = NGX_DECLINED; | 167 rc = NGX_DECLINED; |
168 | 168 |
169 #if (NGX_SUPPRESS_WARN) | |
170 limit = NULL; | |
171 #endif | |
172 | |
169 for (n = 0; n < lrcf->limits.nelts; n++) { | 173 for (n = 0; n < lrcf->limits.nelts; n++) { |
170 | 174 |
171 limit = &limits[n]; | 175 limit = &limits[n]; |
172 | 176 |
173 ctx = limit->shm_zone->data; | 177 ctx = limit->shm_zone->data; |