diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2010-07-13 10:17:09 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2010-07-13 10:17:09 +0000 |
| commit | 5a19097c9beb94a7c21db5a87dd374a9b63ff09a (patch) | |
| tree | fd56780a53bfb75ef9992f24c3c56e20101dc219 /src | |
| parent | 618703b5b62fa32feaa6f0b82ae5fa59a6d0bf66 (diff) | |
| download | nginx-5a19097c9beb94a7c21db5a87dd374a9b63ff09a.tar.gz nginx-5a19097c9beb94a7c21db5a87dd374a9b63ff09a.tar.bz2 | |
allow setfib=0
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/ngx_http_core_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
