Mercurial > hg > nginx
comparison src/os/unix/ngx_linux_sendfile_chain.c @ 6480:f01ab2dbcfdc
Fixed logging.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 31 Mar 2016 02:33:57 +0300 |
parents | 248aa2757332 |
children | ff0c8e11edbc |
comparison
equal
deleted
inserted
replaced
6479:dc92298b1852 | 6480:f01ab2dbcfdc |
---|---|
449 #if 0 | 449 #if 0 |
450 ngx_time_update(); | 450 ngx_time_update(); |
451 #endif | 451 #endif |
452 | 452 |
453 ngx_log_debug4(NGX_LOG_DEBUG_EVENT, log, 0, | 453 ngx_log_debug4(NGX_LOG_DEBUG_EVENT, log, 0, |
454 "sendfile: %z (err: %i) of %uz @%O", | 454 "sendfile: %z (err: %d) of %uz @%O", |
455 n, ctx->err, ctx->size, file->file_pos); | 455 n, ctx->err, ctx->size, file->file_pos); |
456 | 456 |
457 if (ctx->err == NGX_EINTR) { | 457 if (ctx->err == NGX_EINTR) { |
458 goto again; | 458 goto again; |
459 } | 459 } |