commit | 6669702b005516ab432a4fd288f20d8c7060d9c1 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Mon Oct 01 13:00:30 2007 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Mon Oct 01 13:00:30 2007 +0000 |
tree | f2a24b12b40be8e735be370db4e455861d805a38 | |
parent | f53294103b534d6979700158be18bdf17267f6d0 [diff] |
add comment
diff --git a/src/core/ngx_string.c b/src/core/ngx_string.c index 6b40d0f..45079b7 100644 --- a/src/core/ngx_string.c +++ b/src/core/ngx_string.c
@@ -503,6 +503,12 @@ } +/* + * ngx_strstrn() and ngx_strcasestrn() are intended to search for static + * substring with known length in null-terminated string. The argument n + * must be length of the second substring - 1. + */ + u_char * ngx_strstrn(u_char *s1, char *s2, size_t n) {