Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-04-02 09:43:21 +0400
committerIgor Sysoev <igor@sysoev.ru>2007-04-02 09:43:21 +0400
commit10b9894beeac2fc9d88283ad1140be3b8cf4543d (patch)
tree2e81e5dd42e6412ee9219482d4a76b5c73a05980 /src
parentceab369f4432f9b3e28d37ed6893db4a7640e59a (diff)
style fix
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_core_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 5683c2405..49eed1b03 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -2659,8 +2659,8 @@ ngx_http_core_root(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
value = cf->args->elts;
- if (ngx_strstr(value[1].data, "$document_root") != 0
- || ngx_strstr(value[1].data, "${document_root}") != 0)
+ if (ngx_strstr(value[1].data, "$document_root")
+ || ngx_strstr(value[1].data, "${document_root}"))
{
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
"the $document_root variable may not be used "