# HG changeset patch # User Igor Sysoev # Date 1175492601 0 # Node ID a9005d2e2c99681ddaa1a06bf73013f1988cdbd8 # Parent 39a3aa08eefe576759af52e8585656e767341e85 style fix diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c --- 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 "