[nginx] Fixed writev() debug log message in ngx_darwin_sendfile_...
Valentin Bartenev
vbart at nginx.com
Fri Sep 19 09:21:21 UTC 2014
details: http://hg.nginx.org/nginx/rev/810e97260edc
branches:
changeset: 5849:810e97260edc
user: Valentin Bartenev <vbart at nginx.com>
date: Wed Aug 13 15:11:45 2014 +0400
description:
Fixed writev() debug log message in ngx_darwin_sendfile_chain().
diffstat:
src/os/unix/ngx_darwin_sendfile_chain.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 106a8bfa4f42 -r 810e97260edc src/os/unix/ngx_darwin_sendfile_chain.c
--- a/src/os/unix/ngx_darwin_sendfile_chain.c Thu Sep 18 16:37:16 2014 +0400
+++ b/src/os/unix/ngx_darwin_sendfile_chain.c Wed Aug 13 15:11:45 2014 +0400
@@ -285,7 +285,7 @@ ngx_darwin_sendfile_chain(ngx_connection
rc = writev(c->fd, header.elts, header.nelts);
ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0,
- "writev: %d of %uz", rc, send);
+ "writev: %d of %O", rc, header_size);
if (rc == -1) {
err = ngx_errno;
More information about the nginx-devel
mailing list