nginx-0.0.2-2004-02-11-20:08:49 import
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
index 1157484..989a0de 100644
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -240,7 +240,7 @@
 
 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 @@
 
         switch (c->log_error) {
 
+        case NGX_ERROR_IGNORE_ECONNRESET:
         case NGX_ERROR_INFO:
             level = NGX_LOG_INFO;
             break;