comparison src/http/ngx_http_core_module.c @ 4522:14411ee4d89f

Whitespace fixes.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 05 Mar 2012 18:09:06 +0000
parents b4379a91f9b5
children 2e7ac96049b8
comparison
equal deleted inserted replaced
4521:dfca420d0446 4522:14411ee4d89f
3968 if (lsopt.tcp_keepcnt == NGX_ERROR) { 3968 if (lsopt.tcp_keepcnt == NGX_ERROR) {
3969 goto invalid_so_keepalive; 3969 goto invalid_so_keepalive;
3970 } 3970 }
3971 } 3971 }
3972 3972
3973 if (lsopt.tcp_keepidle == 0 && lsopt.tcp_keepintvl == 0 3973 if (lsopt.tcp_keepidle == 0 && lsopt.tcp_keepintvl == 0
3974 && lsopt.tcp_keepcnt == 0) 3974 && lsopt.tcp_keepcnt == 0)
3975 { 3975 {
3976 goto invalid_so_keepalive; 3976 goto invalid_so_keepalive;
3977 } 3977 }
3978 3978
4627 return NGX_CONF_OK; 4627 return NGX_CONF_OK;
4628 } 4628 }
4629 4629
4630 if (max == 0) { 4630 if (max == 0) {
4631 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 4631 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
4632 "\"open_file_cache\" must have the \"max\" parameter"); 4632 "\"open_file_cache\" must have the \"max\" parameter");
4633 return NGX_CONF_ERROR; 4633 return NGX_CONF_ERROR;
4634 } 4634 }
4635 4635
4636 clcf->open_file_cache = ngx_open_file_cache_init(cf->pool, max, inactive); 4636 clcf->open_file_cache = ngx_open_file_cache_init(cf->pool, max, inactive);
4637 if (clcf->open_file_cache) { 4637 if (clcf->open_file_cache) {