Mercurial > hg > nginx
changeset 3687:3fef0312aec8
allow setfib=0
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 13 Jul 2010 10:17:09 +0000 |
parents | 47c1a9bff989 |
children | e16dd52a0d22 |
files | src/http/ngx_http_core_module.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c Mon Jul 12 12:52:01 2010 +0000 +++ b/src/http/ngx_http_core_module.c Tue Jul 13 10:17:09 2010 +0000 @@ -3440,7 +3440,7 @@ 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;