comparison src/http/ngx_http_write_filter_module.c @ 6044:b8926ba4d087

Format specifier fixed for file size of buffers.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 23 Mar 2015 19:28:54 +0300
parents 08bfc7188a41
children f01ab2dbcfdc
comparison
equal deleted inserted replaced
6043:613b14b305c7 6044:b8926ba4d087
71 for (cl = r->out; cl; cl = cl->next) { 71 for (cl = r->out; cl; cl = cl->next) {
72 ll = &cl->next; 72 ll = &cl->next;
73 73
74 ngx_log_debug7(NGX_LOG_DEBUG_EVENT, c->log, 0, 74 ngx_log_debug7(NGX_LOG_DEBUG_EVENT, c->log, 0,
75 "write old buf t:%d f:%d %p, pos %p, size: %z " 75 "write old buf t:%d f:%d %p, pos %p, size: %z "
76 "file: %O, size: %z", 76 "file: %O, size: %O",
77 cl->buf->temporary, cl->buf->in_file, 77 cl->buf->temporary, cl->buf->in_file,
78 cl->buf->start, cl->buf->pos, 78 cl->buf->start, cl->buf->pos,
79 cl->buf->last - cl->buf->pos, 79 cl->buf->last - cl->buf->pos,
80 cl->buf->file_pos, 80 cl->buf->file_pos,
81 cl->buf->file_last - cl->buf->file_pos); 81 cl->buf->file_last - cl->buf->file_pos);
127 *ll = cl; 127 *ll = cl;
128 ll = &cl->next; 128 ll = &cl->next;
129 129
130 ngx_log_debug7(NGX_LOG_DEBUG_EVENT, c->log, 0, 130 ngx_log_debug7(NGX_LOG_DEBUG_EVENT, c->log, 0,
131 "write new buf t:%d f:%d %p, pos %p, size: %z " 131 "write new buf t:%d f:%d %p, pos %p, size: %z "
132 "file: %O, size: %z", 132 "file: %O, size: %O",
133 cl->buf->temporary, cl->buf->in_file, 133 cl->buf->temporary, cl->buf->in_file,
134 cl->buf->start, cl->buf->pos, 134 cl->buf->start, cl->buf->pos,
135 cl->buf->last - cl->buf->pos, 135 cl->buf->last - cl->buf->pos,
136 cl->buf->file_pos, 136 cl->buf->file_pos,
137 cl->buf->file_last - cl->buf->file_pos); 137 cl->buf->file_last - cl->buf->file_pos);