summaryrefslogtreecommitdiffhomepage
path: root/src/stream/ngx_stream_limit_conn_module.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/stream/ngx_stream_limit_conn_module.c
parent53fec2c4149028c8d30ce58d79674502358da773 (diff)
downloadnginx-00ef9ff5f03ce7e98ba64c3644da25e5a0d659fc.tar.gz
nginx-00ef9ff5f03ce7e98ba64c3644da25e5a0d659fc.tar.bz2
Fixed logging.
Diffstat (limited to 'src/stream/ngx_stream_limit_conn_module.c')
-rw-r--r--src/stream/ngx_stream_limit_conn_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stream/ngx_stream_limit_conn_module.c b/src/stream/ngx_stream_limit_conn_module.c
index 732b0890a..f1d8a37c7 100644
--- a/src/stream/ngx_stream_limit_conn_module.c
+++ b/src/stream/ngx_stream_limit_conn_module.c
@@ -220,7 +220,7 @@ ngx_stream_limit_conn_handler(ngx_stream_session_t *s)
}
ngx_log_debug2(NGX_LOG_DEBUG_STREAM, s->connection->log, 0,
- "limit conn: %08XD %d", node->key, lc->conn);
+ "limit conn: %08Xi %d", node->key, lc->conn);
ngx_shmtx_unlock(&shpool->mutex);
@@ -340,7 +340,7 @@ ngx_stream_limit_conn_cleanup(void *data)
ngx_shmtx_lock(&shpool->mutex);
ngx_log_debug2(NGX_LOG_DEBUG_STREAM, lccln->shm_zone->shm.log, 0,
- "limit conn cleanup: %08XD %d", node->key, lc->conn);
+ "limit conn cleanup: %08Xi %d", node->key, lc->conn);
lc->conn--;