Mercurial > hg > nginx
comparison src/core/ngx_output_chain.c @ 2245:8a98616abb73
add filename to the log message
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 11 Sep 2008 15:52:11 +0000 |
parents | a83218b65245 |
children | 1adec90a0e46 |
comparison
equal
deleted
inserted
replaced
2244:f5a9f35e8344 | 2245:8a98616abb73 |
---|---|
503 } | 503 } |
504 #endif | 504 #endif |
505 | 505 |
506 if (n != size) { | 506 if (n != size) { |
507 ngx_log_error(NGX_LOG_ALERT, ctx->pool->log, 0, | 507 ngx_log_error(NGX_LOG_ALERT, ctx->pool->log, 0, |
508 ngx_read_file_n " read only %z of %O from file", | 508 ngx_read_file_n " read only %z of %O from \"%s\"", |
509 n, size); | 509 n, size, src->file->name.data); |
510 if (n == 0) { | 510 if (n == 0) { |
511 return NGX_ERROR; | 511 return NGX_ERROR; |
512 } | 512 } |
513 } | 513 } |
514 | 514 |