# HG changeset patch # User Igor Sysoev # Date 1208442731 0 # Node ID 54e4d1b6c1836bfb0c1197d74e510ab341552db4 # Parent 9d2bdbda4ee3b7ea3a08f5a823e34414cbec48c3 small fix diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -3205,7 +3205,7 @@ ngx_http_upstream_server(ngx_conf_t *cf, fail_timeout = ngx_parse_time(&s, 1); - if (fail_timeout < 0) { + if (fail_timeout == NGX_ERROR) { goto invalid; }