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
+4
-0
src/core/ngx_string.c
less
more
702
702
{
703
703
ngx_uint_t c1, c2;
704
704
705
if (s1 <= last) {
706
return NULL;
707
}
708
705
709
c2 = (ngx_uint_t) *s2++;
706
710
c2 = (c2 >= 'A' && c2 <= 'Z') ? (c2 | 0x20) : c2;
707
711
last -= n;