From 5a19097c9beb94a7c21db5a87dd374a9b63ff09a Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 13 Jul 2010 10:17:09 +0000 Subject: allow setfib=0 --- src/http/ngx_http_core_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 0296d00bf..b4b86a755 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -3440,7 +3440,7 @@ ngx_http_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) if (ngx_strncmp(value[n].data, "setfib=", 7) == 0) { lsopt.setfib = ngx_atoi(value[n].data + 7, value[n].len - 7); - if (lsopt.setfib == NGX_ERROR || lsopt.setfib == 0) { + if (lsopt.setfib == NGX_ERROR) { ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "invalid setfib \"%V\"", &value[n]); return NGX_CONF_ERROR; -- cgit