Mercurial > hg > nginx-quic
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 +++ b/src/http/modules/ngx_http_referer_module.c @@ -352,7 +352,7 @@ ngx_http_valid_referers(ngx_conf_t *cf, 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;