aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-10-01 14:48:45 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-10-01 14:48:45 +0000
commita8afe406ce783753c549286a8173b6dbb437bc3b (patch)
tree18e991bbd0186822d9228b9376330021739015ac /src
parent35fe5fd06dd1307e1e3cc8a0212e19be0e04b58c (diff)
downloadnginx-a8afe406ce783753c549286a8173b6dbb437bc3b.tar.gz
nginx-a8afe406ce783753c549286a8173b6dbb437bc3b.zip
use ngx_strnstr()
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_flv_module.c2
1 files changed, 1 insertions, 1 deletions
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;