comparison src/core/ngx_output_chain.c @ 2180:61a09532e310

fix log message
author Igor Sysoev <igor@sysoev.ru>
date Fri, 15 Aug 2008 20:14:49 +0000
parents 25add486e7aa
children 25cf039c40bd
comparison
equal deleted inserted replaced
2179:5059c0183e28 2180:61a09532e310
412 } 412 }
413 #endif 413 #endif
414 414
415 if (n != size) { 415 if (n != size) {
416 ngx_log_error(NGX_LOG_ALERT, src->file->log, 0, 416 ngx_log_error(NGX_LOG_ALERT, src->file->log, 0,
417 ngx_read_file_n " reads only %z of %O from file", 417 ngx_read_file_n " read only %z of %O from file",
418 n, size); 418 n, size);
419 if (n == 0) { 419 if (n == 0) {
420 return NGX_ERROR; 420 return NGX_ERROR;
421 } 421 }
422 } 422 }