Mercurial > hg > nginx
diff src/http/modules/ngx_http_flv_module.c @ 1553:e3134867a810
use ngx_strnstr()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 01 Oct 2007 14:48:45 +0000 |
parents | 223e92651ca5 |
children | 25ee6eee7573 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_flv_module.c +++ b/src/http/modules/ngx_http_flv_module.c @@ -166,7 +166,7 @@ ngx_http_flv_handler(ngx_http_request_t i = 1; if (r->args.len) { - p = (u_char *) ngx_strstr(r->args.data, "start="); + p = (u_char *) ngx_strnstr(r->args.data, "start=", r->args.len); if (p) { p += 6;