diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2018-01-24 15:16:33 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2018-01-24 15:16:33 +0300 |
commit | 771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd (patch) | |
tree | e50d2d18f95dec00f7f643dcf6251c1baa44e7b8 /src/nxt_socket.c | |
parent | 67c64a99fb78f48c3deacc7d89e73de72522806b (diff) | |
download | unit-771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd.tar.gz unit-771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd.tar.bz2 |
Fixed formatting in nxt_sprintf() and logging.
Diffstat (limited to 'src/nxt_socket.c')
-rw-r--r-- | src/nxt_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_socket.c b/src/nxt_socket.c index 529d7f7d..d7cdd600 100644 --- a/src/nxt_socket.c +++ b/src/nxt_socket.c @@ -101,7 +101,7 @@ nxt_socket_getsockopt(nxt_task_t *task, nxt_socket_t s, nxt_uint_t level, nxt_log(task, NXT_LOG_CRIT, "getsockopt(%d, %ui, %s) failed %E", s, level, nxt_socket_sockopt_name(level, sockopt), - val, nxt_socket_errno); + nxt_socket_errno); return -1; } |