small fix

This commit is contained in:
Igor Sysoev 2008-04-17 14:32:11 +00:00
parent f57b24e70f
commit 6a2ea3f544

View File

@ -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;
}