comparison src/event/ngx_event_pipe.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 973ee2276300
children d811f22033ad
comparison
equal deleted inserted replaced
6043:613b14b305c7 6044:b8926ba4d087
374 374
375 for (cl = p->busy; cl; cl = cl->next) { 375 for (cl = p->busy; cl; cl = cl->next) {
376 ngx_log_debug8(NGX_LOG_DEBUG_EVENT, p->log, 0, 376 ngx_log_debug8(NGX_LOG_DEBUG_EVENT, p->log, 0,
377 "pipe buf busy s:%d t:%d f:%d " 377 "pipe buf busy s:%d t:%d f:%d "
378 "%p, pos %p, size: %z " 378 "%p, pos %p, size: %z "
379 "file: %O, size: %z", 379 "file: %O, size: %O",
380 (cl->buf->shadow ? 1 : 0), 380 (cl->buf->shadow ? 1 : 0),
381 cl->buf->temporary, cl->buf->in_file, 381 cl->buf->temporary, cl->buf->in_file,
382 cl->buf->start, cl->buf->pos, 382 cl->buf->start, cl->buf->pos,
383 cl->buf->last - cl->buf->pos, 383 cl->buf->last - cl->buf->pos,
384 cl->buf->file_pos, 384 cl->buf->file_pos,
387 387
388 for (cl = p->out; cl; cl = cl->next) { 388 for (cl = p->out; cl; cl = cl->next) {
389 ngx_log_debug8(NGX_LOG_DEBUG_EVENT, p->log, 0, 389 ngx_log_debug8(NGX_LOG_DEBUG_EVENT, p->log, 0,
390 "pipe buf out s:%d t:%d f:%d " 390 "pipe buf out s:%d t:%d f:%d "
391 "%p, pos %p, size: %z " 391 "%p, pos %p, size: %z "
392 "file: %O, size: %z", 392 "file: %O, size: %O",
393 (cl->buf->shadow ? 1 : 0), 393 (cl->buf->shadow ? 1 : 0),
394 cl->buf->temporary, cl->buf->in_file, 394 cl->buf->temporary, cl->buf->in_file,
395 cl->buf->start, cl->buf->pos, 395 cl->buf->start, cl->buf->pos,
396 cl->buf->last - cl->buf->pos, 396 cl->buf->last - cl->buf->pos,
397 cl->buf->file_pos, 397 cl->buf->file_pos,
400 400
401 for (cl = p->in; cl; cl = cl->next) { 401 for (cl = p->in; cl; cl = cl->next) {
402 ngx_log_debug8(NGX_LOG_DEBUG_EVENT, p->log, 0, 402 ngx_log_debug8(NGX_LOG_DEBUG_EVENT, p->log, 0,
403 "pipe buf in s:%d t:%d f:%d " 403 "pipe buf in s:%d t:%d f:%d "
404 "%p, pos %p, size: %z " 404 "%p, pos %p, size: %z "
405 "file: %O, size: %z", 405 "file: %O, size: %O",
406 (cl->buf->shadow ? 1 : 0), 406 (cl->buf->shadow ? 1 : 0),
407 cl->buf->temporary, cl->buf->in_file, 407 cl->buf->temporary, cl->buf->in_file,
408 cl->buf->start, cl->buf->pos, 408 cl->buf->start, cl->buf->pos,
409 cl->buf->last - cl->buf->pos, 409 cl->buf->last - cl->buf->pos,
410 cl->buf->file_pos, 410 cl->buf->file_pos,
413 413
414 for (cl = p->free_raw_bufs; cl; cl = cl->next) { 414 for (cl = p->free_raw_bufs; cl; cl = cl->next) {
415 ngx_log_debug8(NGX_LOG_DEBUG_EVENT, p->log, 0, 415 ngx_log_debug8(NGX_LOG_DEBUG_EVENT, p->log, 0,
416 "pipe buf free s:%d t:%d f:%d " 416 "pipe buf free s:%d t:%d f:%d "
417 "%p, pos %p, size: %z " 417 "%p, pos %p, size: %z "
418 "file: %O, size: %z", 418 "file: %O, size: %O",
419 (cl->buf->shadow ? 1 : 0), 419 (cl->buf->shadow ? 1 : 0),
420 cl->buf->temporary, cl->buf->in_file, 420 cl->buf->temporary, cl->buf->in_file,
421 cl->buf->start, cl->buf->pos, 421 cl->buf->start, cl->buf->pos,
422 cl->buf->last - cl->buf->pos, 422 cl->buf->last - cl->buf->pos,
423 cl->buf->file_pos, 423 cl->buf->file_pos,