Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.c @ 1148:3a95870b3229
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 28 Mar 2007 14:38:33 +0000 |
parents | db7c468c447d |
children | b8fe8a80e019 |
comparison
equal
deleted
inserted
replaced
1147:7964d83695d1 | 1148:3a95870b3229 |
---|---|
872 r->loc_conf = clcf->limit_except_loc_conf; | 872 r->loc_conf = clcf->limit_except_loc_conf; |
873 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); | 873 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); |
874 } | 874 } |
875 | 875 |
876 if (r == r->main) { | 876 if (r == r->main) { |
877 r->connection->log->file = clcf->err_log->file; | 877 r->connection->log->file = clcf->err_log->file; |
878 | |
878 if (!(r->connection->log->log_level & NGX_LOG_DEBUG_CONNECTION)) { | 879 if (!(r->connection->log->log_level & NGX_LOG_DEBUG_CONNECTION)) { |
879 r->connection->log->log_level = clcf->err_log->log_level; | 880 r->connection->log->log_level = clcf->err_log->log_level; |
880 } | 881 } |
881 } | 882 } |
882 | 883 |