mirror of
https://github.com/nginx/nginx.git
synced 2025-08-06 06:46:16 +08:00
add comment
This commit is contained in:
parent
f53294103b
commit
6669702b00
@ -503,6 +503,12 @@ ngx_strncasecmp(u_char *s1, u_char *s2, size_t n)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 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 *
|
u_char *
|
||||||
ngx_strstrn(u_char *s1, char *s2, size_t n)
|
ngx_strstrn(u_char *s1, char *s2, size_t n)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user