Mercurial > hg > nginx
changeset 2449:450a277dad48
repeat r2448 for range deletion
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 16 Jan 2009 15:58:27 +0000 |
parents | bbec98632208 |
children | 19b28be544fe |
files | src/http/modules/ngx_http_geo_module.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_geo_module.c +++ b/src/http/modules/ngx_http_geo_module.c @@ -670,7 +670,12 @@ ngx_http_geo_delete_range(ngx_conf_t *cf for (n = start; n < end; n += 0x10000) { h = n >> 16; - s = n & 0xffff; + + if (n == start) { + s = n & 0xffff; + } else { + s = 0; + } if ((n | 0xffff) > end) { e = end & 0xffff;