Mercurial > hg > nginx
comparison src/http/modules/ngx_http_geo_module.c @ 4989:eababa1dc446
Trailing whitespace fix.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 24 Dec 2012 16:40:55 +0000 |
parents | f091722acab4 |
children | 3be3de31d7dd |
comparison
equal
deleted
inserted
replaced
4988:3849bb380605 | 4989:eababa1dc446 |
---|---|
189 | 189 |
190 *v = *ctx->u.high.default_value; | 190 *v = *ctx->u.high.default_value; |
191 | 191 |
192 if (ctx->u.high.low) { | 192 if (ctx->u.high.low) { |
193 addr = ngx_http_geo_addr(r, ctx); | 193 addr = ngx_http_geo_addr(r, ctx); |
194 | 194 |
195 range = ctx->u.high.low[addr >> 16]; | 195 range = ctx->u.high.low[addr >> 16]; |
196 | 196 |
197 if (range) { | 197 if (range) { |
198 n = addr & 0xffff; | 198 n = addr & 0xffff; |
199 do { | 199 do { |
200 if (n >= (ngx_uint_t) range->start | 200 if (n >= (ngx_uint_t) range->start |
201 && n <= (ngx_uint_t) range->end) | 201 && n <= (ngx_uint_t) range->end) |