Mercurial > hg > nginx
changeset 1553:e3134867a810
use ngx_strnstr()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 01 Oct 2007 14:48:45 +0000 |
parents | f045c67ab622 |
children | 30fcc8478d85 |
files | src/http/modules/ngx_http_flv_module.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_flv_module.c Mon Oct 01 14:48:33 2007 +0000 +++ b/src/http/modules/ngx_http_flv_module.c Mon Oct 01 14:48:45 2007 +0000 @@ -166,7 +166,7 @@ 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;