diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2008-04-17 14:32:11 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2008-04-17 14:32:11 +0000 |
| commit | 6a2ea3f54430625120fc31556860531d2859eac7 (patch) | |
| tree | 2eec3b9e0c8102e1aabb1922f3457b168bfa3a6c | |
| parent | f57b24e70f605f7d28f5a26e352b48e10e42f9d2 (diff) | |
| download | nginx-6a2ea3f54430625120fc31556860531d2859eac7.tar.gz nginx-6a2ea3f54430625120fc31556860531d2859eac7.tar.bz2 | |
small fix
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_upstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index e0aefed6f..9ec861cfa 100644 --- 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, ngx_command_t *cmd, void *conf) fail_timeout = ngx_parse_time(&s, 1); - if (fail_timeout < 0) { + if (fail_timeout == NGX_ERROR) { goto invalid; } |
