# HG changeset patch # User Igor Sysoev # Date 1208442731 0 # Node ID 54e4d1b6c1836bfb0c1197d74e510ab341552db4 # Parent 9d2bdbda4ee3b7ea3a08f5a823e34414cbec48c3 small fix diff -r 9d2bdbda4ee3 -r 54e4d1b6c183 src/http/ngx_http_upstream.c --- a/src/http/ngx_http_upstream.c Thu Apr 17 14:23:20 2008 +0000 +++ b/src/http/ngx_http_upstream.c Thu Apr 17 14:32:11 2008 +0000 @@ -3205,7 +3205,7 @@ fail_timeout = ngx_parse_time(&s, 1); - if (fail_timeout < 0) { + if (fail_timeout == NGX_ERROR) { goto invalid; }