Mercurial > hg > nginx
comparison src/core/ngx_string.c @ 1541:22629796df09
fix comment
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 26 Sep 2007 12:23:34 +0000 |
parents | 03341711f9a2 |
children | f5bd1a7ed2cd |
comparison
equal
deleted
inserted
replaced
1539:d28353efc688 | 1541:22629796df09 |
---|---|
440 return buf; | 440 return buf; |
441 } | 441 } |
442 | 442 |
443 | 443 |
444 /* | 444 /* |
445 * We use ngx_strcasecmp()/ngx_strncasecmp() for 7-bit ASCII string only, | 445 * We use ngx_strcasecmp()/ngx_strncasecmp() for 7-bit ASCII strings only, |
446 * and implement our own ngx_strcasecmp()/ngx_strncasecmp() | 446 * and implement our own ngx_strcasecmp()/ngx_strncasecmp() |
447 * to avoid libc locale overhead. Besides, we use the ngx_uint_t's | 447 * to avoid libc locale overhead. Besides, we use the ngx_uint_t's |
448 * instead of the u_char's, because they are slightly faster. | 448 * instead of the u_char's, because they are slightly faster. |
449 */ | 449 */ |
450 | 450 |