Mercurial > hg > nginx
comparison src/http/modules/ngx_http_geo_module.c @ 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 |
comparison
equal
deleted
inserted
replaced
2448:bbec98632208 | 2449:450a277dad48 |
---|---|
668 warn = 0; | 668 warn = 0; |
669 | 669 |
670 for (n = start; n < end; n += 0x10000) { | 670 for (n = start; n < end; n += 0x10000) { |
671 | 671 |
672 h = n >> 16; | 672 h = n >> 16; |
673 s = n & 0xffff; | 673 |
674 if (n == start) { | |
675 s = n & 0xffff; | |
676 } else { | |
677 s = 0; | |
678 } | |
674 | 679 |
675 if ((n | 0xffff) > end) { | 680 if ((n | 0xffff) > end) { |
676 e = end & 0xffff; | 681 e = end & 0xffff; |
677 | 682 |
678 } else { | 683 } else { |