mirror of
https://github.com/nginx/nginx.git
synced 2025-06-18 01:30:42 +08:00
use ngx_strnstr()
This commit is contained in:
parent
35fe5fd06d
commit
a8afe406ce
@ -166,7 +166,7 @@ ngx_http_flv_handler(ngx_http_request_t *r)
|
|||||||
i = 1;
|
i = 1;
|
||||||
|
|
||||||
if (r->args.len) {
|
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) {
|
if (p) {
|
||||||
p += 6;
|
p += 6;
|
||||||
|
Loading…
Reference in New Issue
Block a user