diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-06-06 12:24:10 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-06-06 12:24:10 +0000 |
commit | 8e3151dce50f956409970c0cae2f508300e0ec19 (patch) | |
tree | bf998aa3adc6472d7d9f2b0dadabbca403697adc /src/http/modules/ngx_http_referer_module.c | |
parent | 1fddbb85e100aa485991cb4a98493a062a66d3e3 (diff) | |
download | nginx-8e3151dce50f956409970c0cae2f508300e0ec19.tar.gz nginx-8e3151dce50f956409970c0cae2f508300e0ec19.zip |
strstr() -> strchr()
Diffstat (limited to 'src/http/modules/ngx_http_referer_module.c')
-rw-r--r-- | src/http/modules/ngx_http_referer_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_referer_module.c b/src/http/modules/ngx_http_referer_module.c index b2c2ef597..2d16bd5cb 100644 --- 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, ngx_command_t *cmd, void *conf) 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; |