style fix

This commit is contained in:
Igor Sysoev 2009-05-28 13:31:43 +00:00
parent 791c447d29
commit 7b26e45205
2 changed files with 6 additions and 4 deletions

View file

@ -2541,7 +2541,8 @@ ngx_http_fastcgi_store(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
ngx_str_t *value;
ngx_http_script_compile_t sc;
if (flcf->upstream.store != NGX_CONF_UNSET || flcf->upstream.store_lengths)
if (flcf->upstream.store != NGX_CONF_UNSET
|| flcf->upstream.store_lengths)
{
return "is duplicate";
}

View file

@ -2809,7 +2809,8 @@ ngx_http_proxy_store(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
ngx_str_t *value;
ngx_http_script_compile_t sc;
if (plcf->upstream.store != NGX_CONF_UNSET || plcf->upstream.store_lengths)
if (plcf->upstream.store != NGX_CONF_UNSET
|| plcf->upstream.store_lengths)
{
return "is duplicate";
}