Mercurial > hg > nginx
comparison src/os/unix/ngx_aio_write_chain.c @ 248:e885208c518b
nginx-0.0.2-2004-02-03-00:19:52 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 02 Feb 2004 21:19:52 +0000 |
parents | 389d7ee9fa60 |
children | 70e1c7d2b83d |
comparison
equal
deleted
inserted
replaced
247:008276b9e061 | 248:e885208c518b |
---|---|
56 sent += n; | 56 sent += n; |
57 c->sent += n; | 57 c->sent += n; |
58 } | 58 } |
59 | 59 |
60 #if (NGX_DEBUG_WRITE_CHAIN) | 60 #if (NGX_DEBUG_WRITE_CHAIN) |
61 ngx_log_debug(c->log, "aio_write sent: " OFF_FMT _ c->sent); | 61 ngx_log_debug(c->log, "aio_write sent: " OFF_T_FMT _ c->sent); |
62 #endif | 62 #endif |
63 | 63 |
64 for (cl = in; cl; cl = cl->next) { | 64 for (cl = in; cl; cl = cl->next) { |
65 | 65 |
66 if (sent >= cl->hunk->last - cl->hunk->pos) { | 66 if (sent >= cl->hunk->last - cl->hunk->pos) { |