Mercurial > hg > nginx
comparison src/os/unix/ngx_freebsd_sendfile_chain.c @ 197:0b81c7a0b133
nginx-0.0.1-2003-11-27-10:45:22 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 27 Nov 2003 07:45:22 +0000 |
parents | 8dee38ea9117 |
children | 267ea1d98683 |
comparison
equal
deleted
inserted
replaced
196:11fbd0fc041d | 197:0b81c7a0b133 |
---|---|
190 eagain = 1; | 190 eagain = 1; |
191 } | 191 } |
192 | 192 |
193 if (err == NGX_EAGAIN || err == NGX_EINTR) { | 193 if (err == NGX_EAGAIN || err == NGX_EINTR) { |
194 ngx_log_error(NGX_LOG_INFO, c->log, err, | 194 ngx_log_error(NGX_LOG_INFO, c->log, err, |
195 "sendfile() sent only %qd bytes", sent); | 195 "sendfile() sent only " OFF_T_FMT " bytes", |
196 sent); | |
196 | 197 |
197 } else { | 198 } else { |
198 wev->error = 1; | 199 wev->error = 1; |
199 ngx_log_error(NGX_LOG_CRIT, c->log, err, | 200 ngx_log_error(NGX_LOG_CRIT, c->log, err, |
200 "sendfile() failed"); | 201 "sendfile() failed"); |