Klaus Demo nginx / 6669702
add comment Igor Sysoev 14 years ago
1 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
502502 }
503503
504504
505 /*
506 * ngx_strstrn() and ngx_strcasestrn() are intended to search for static
507 * substring with known length in null-terminated string. The argument n
508 * must be length of the second substring - 1.
509 */
510
505511 u_char *
506512 ngx_strstrn(u_char *s1, char *s2, size_t n)
507513 {