diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2018-01-24 15:16:32 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2018-01-24 15:16:32 +0300 |
commit | 67c64a99fb78f48c3deacc7d89e73de72522806b (patch) | |
tree | 384b433c94fc63e27d21d6b05153d162655e79bc /src/nxt_conn_accept.c | |
parent | 477e8177b70acb694759e62d830b8a311a736324 (diff) | |
download | unit-67c64a99fb78f48c3deacc7d89e73de72522806b.tar.gz unit-67c64a99fb78f48c3deacc7d89e73de72522806b.tar.bz2 |
Using size_t for the field width type of the "%*s" specifier.
Diffstat (limited to 'src/nxt_conn_accept.c')
-rw-r--r-- | src/nxt_conn_accept.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nxt_conn_accept.c b/src/nxt_conn_accept.c index f2a50301..80b599b4 100644 --- a/src/nxt_conn_accept.c +++ b/src/nxt_conn_accept.c @@ -189,7 +189,8 @@ nxt_conn_accept(nxt_task_t *task, nxt_listen_event_t *lev, nxt_conn_t *c) nxt_sockaddr_text(c->remote); nxt_debug(task, "client: %*s", - c->remote->address_length, nxt_sockaddr_address(c->remote)); + (size_t) c->remote->address_length, + nxt_sockaddr_address(c->remote)); nxt_queue_insert_head(&task->thread->engine->idle_connections, &c->link); |