Mercurial > hg > nginx
changeset 2894:d26f4e80c71f
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 28 May 2009 13:31:43 +0000 |
parents | da1ba8a5c8c9 |
children | d65e58a8d3a4 |
files | src/http/modules/ngx_http_fastcgi_module.c src/http/modules/ngx_http_proxy_module.c |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_fastcgi_module.c Tue May 26 14:28:49 2009 +0000 +++ b/src/http/modules/ngx_http_fastcgi_module.c Thu May 28 13:31:43 2009 +0000 @@ -1911,7 +1911,7 @@ if (conf->upstream.store != 0) { ngx_conf_merge_value(conf->upstream.store, - prev->upstream.store, 0); + prev->upstream.store, 0); if (conf->upstream.store_lengths == NULL) { conf->upstream.store_lengths = prev->upstream.store_lengths; @@ -2541,7 +2541,8 @@ 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"; }
--- a/src/http/modules/ngx_http_proxy_module.c Tue May 26 14:28:49 2009 +0000 +++ b/src/http/modules/ngx_http_proxy_module.c Thu May 28 13:31:43 2009 +0000 @@ -1973,7 +1973,7 @@ if (conf->upstream.store != 0) { ngx_conf_merge_value(conf->upstream.store, - prev->upstream.store, 0); + prev->upstream.store, 0); if (conf->upstream.store_lengths == NULL) { conf->upstream.store_lengths = prev->upstream.store_lengths; @@ -2809,7 +2809,8 @@ 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"; }