use ngx_strnstr()

This commit is contained in:
Igor Sysoev 2007-10-01 14:48:45 +00:00
parent 2c924bac25
commit 5e1a14b2b1

View file

@ -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;