aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_connection.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-02-10 16:23:38 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-02-10 16:23:38 +0000
commitc7a2f6860669f45f5abe342163de5bc68e344816 (patch)
tree08755593cd5f7537d0b63cf2a6c8b835e1082792 /src/core/ngx_connection.c
parente9b2cb1b9d286cffa8053e41c87b12ce265c4f25 (diff)
downloadnginx-c7a2f6860669f45f5abe342163de5bc68e344816.tar.gz
nginx-c7a2f6860669f45f5abe342163de5bc68e344816.zip
nginx-0.0.2-2004-02-10-19:23:38 import
Diffstat (limited to 'src/core/ngx_connection.c')
-rw-r--r--src/core/ngx_connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
index e0b24fa63..115748432 100644
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -243,14 +243,14 @@ ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text)
ngx_int_t level;
if (err == NGX_ECONNRESET
- && c->read->log_error == NGX_ERROR_IGNORE_ECONNRESET)
+ && c->log_error == NGX_ERROR_IGNORE_ECONNRESET)
{
return 0;
}
if (err == NGX_ECONNRESET || err == NGX_EPIPE || err == NGX_ENOTCONN) {
- switch (c->read->log_error) {
+ switch (c->log_error) {
case NGX_ERROR_INFO:
level = NGX_LOG_INFO;