Klaus Demo nginx / f3aed53
fix ngx_strlcasestrn() Igor Sysoev 13 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
702702 {
703703 ngx_uint_t c1, c2;
704704
705 if (s1 <= last) {
706 return NULL;
707 }
708
705709 c2 = (ngx_uint_t) *s2++;
706710 c2 = (c2 >= 'A' && c2 <= 'Z') ? (c2 | 0x20) : c2;
707711 last -= n;