summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_controller.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nxt_controller.c b/src/nxt_controller.c
index ec0f99bc..660441f7 100644
--- a/src/nxt_controller.c
+++ b/src/nxt_controller.c
@@ -779,7 +779,7 @@ nxt_controller_conf_apply(nxt_task_t *task, nxt_controller_request_t *req)
void
nxt_port_controller_data_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
{
- size_t size, dump_size;
+ size_t size;
nxt_buf_t *b;
nxt_controller_request_t *req;
nxt_controller_response_t resp;
@@ -787,9 +787,7 @@ nxt_port_controller_data_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
b = msg->buf;
size = b->mem.free - b->mem.pos;
- dump_size = size > 300 ? 300 : size;
-
- nxt_debug(task, "contoller data: %*s ...", dump_size, b->mem.pos);
+ nxt_debug(task, "contoller data: %*s ...", size, b->mem.pos);
nxt_memzero(&resp, sizeof(nxt_controller_response_t));