Mercurial > hg > nginx-quic
comparison src/core/ngx_log.c @ 93:738fe44c70d5
nginx-0.0.1-2003-05-21-17:28:21 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 21 May 2003 13:28:21 +0000 |
parents | 19cc647ecd91 |
children | 7ebc8b7fb816 |
comparison
equal
deleted
inserted
replaced
92:19cc647ecd91 | 93:738fe44c70d5 |
---|---|
145 | 145 |
146 for ( ;; ) { | 146 for ( ;; ) { |
147 n = read((ngx_fd_t) ev->data, errstr, sizeof(errstr - 1)); | 147 n = read((ngx_fd_t) ev->data, errstr, sizeof(errstr - 1)); |
148 | 148 |
149 if (n == -1) { | 149 if (n == -1) { |
150 err = ngx_errno; | 150 err = ngx_errno; |
151 if (err == NGX_EAGAIN) { | 151 if (err == NGX_EAGAIN) { |
152 return; | 152 return; |
153 } | 153 } |
154 | 154 |
155 ngx_log_error(NGX_LOG_ALERT, &ngx_log, err, "read() failed"); | 155 ngx_log_error(NGX_LOG_ALERT, &ngx_log, err, "read() failed"); |