aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_recv.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2016-03-31 02:33:57 +0300
committerSergey Kandaurov <pluknet@nginx.com>2016-03-31 02:33:57 +0300
commit00ef9ff5f03ce7e98ba64c3644da25e5a0d659fc (patch)
tree626c5e25054a4d4f96e58efd2da07343ae58bd80 /src/os/unix/ngx_recv.c
parent53fec2c4149028c8d30ce58d79674502358da773 (diff)
downloadnginx-00ef9ff5f03ce7e98ba64c3644da25e5a0d659fc.tar.gz
nginx-00ef9ff5f03ce7e98ba64c3644da25e5a0d659fc.zip
Fixed logging.
Diffstat (limited to 'src/os/unix/ngx_recv.c')
-rw-r--r--src/os/unix/ngx_recv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_recv.c b/src/os/unix/ngx_recv.c
index 86675dfdd..fc7f76ce9 100644
--- a/src/os/unix/ngx_recv.c
+++ b/src/os/unix/ngx_recv.c
@@ -52,7 +52,7 @@ ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size)
n = recv(c->fd, buf, size, 0);
ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0,
- "recv: fd:%d %d of %d", c->fd, n, size);
+ "recv: fd:%d %z of %uz", c->fd, n, size);
if (n >= 0) {
if (ngx_event_flags & NGX_USE_KQUEUE_EVENT) {
@@ -139,7 +139,7 @@ ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size)
n = recv(c->fd, buf, size, 0);
ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0,
- "recv: fd:%d %d of %d", c->fd, n, size);
+ "recv: fd:%d %z of %uz", c->fd, n, size);
if (n == 0) {
rev->ready = 0;