From a8afe406ce783753c549286a8173b6dbb437bc3b Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 1 Oct 2007 14:48:45 +0000 Subject: [PATCH] use ngx_strnstr() --- src/http/modules/ngx_http_flv_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/modules/ngx_http_flv_module.c b/src/http/modules/ngx_http_flv_module.c index 04327d938..3de4ebfdd 100644 --- 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 *r) 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;