changeset 1156:a9005d2e2c99

style fix
author Igor Sysoev <igor@sysoev.ru>
date Mon, 02 Apr 2007 05:43:21 +0000
parents 39a3aa08eefe
children a4820184a618
files src/http/ngx_http_core_module.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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_c
 
     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 "