Mercurial > hg > nginx
changeset 1242:ae555e0549ca
strstr() -> strchr()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 06 Jun 2007 12:24:10 +0000 |
parents | 3e80929ea5af |
children | 82a8ffe51d11 |
files | src/http/modules/ngx_http_referer_module.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_referer_module.c Wed Jun 06 08:11:33 2007 +0000 +++ b/src/http/modules/ngx_http_referer_module.c Wed Jun 06 12:24:10 2007 +0000 @@ -352,7 +352,7 @@ continue; } - p = (u_char *) ngx_strstr(value[i].data, "/"); + p = (u_char *) ngx_strchr(value[i].data, '/'); if (p) { uri.len = (value[i].data + value[i].len) - p;