From 54498db7a2a2e7e74fba61ec073b248da05e999e Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 11 Feb 2004 17:08:49 +0000 Subject: nginx-0.0.2-2004-02-11-20:08:49 import --- src/core/ngx_connection.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/ngx_connection.c') diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c index 115748432..989a0de1f 100644 --- a/src/core/ngx_connection.c +++ b/src/core/ngx_connection.c @@ -240,7 +240,7 @@ void ngx_close_listening_sockets(ngx_cycle_t *cycle) ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text) { - ngx_int_t level; + ngx_uint_t level; if (err == NGX_ECONNRESET && c->log_error == NGX_ERROR_IGNORE_ECONNRESET) @@ -252,6 +252,7 @@ ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text) switch (c->log_error) { + case NGX_ERROR_IGNORE_ECONNRESET: case NGX_ERROR_INFO: level = NGX_LOG_INFO; break; -- cgit