summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_port_socket.c')
-rw-r--r--src/nxt_port_socket.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nxt_port_socket.c b/src/nxt_port_socket.c
index e688530e..a545013f 100644
--- a/src/nxt_port_socket.c
+++ b/src/nxt_port_socket.c
@@ -118,10 +118,10 @@ nxt_port_write_enable(nxt_task_t *task, nxt_port_t *port)
port->socket.error_handler = nxt_port_error_handler;
if (port->iov == NULL) {
- port->iov = nxt_mp_get(port->mem_pool, sizeof(struct iovec) *
- NXT_IOBUF_MAX * 10);
- port->mmsg_buf = nxt_mp_get(port->mem_pool, sizeof(uint32_t) * 3 *
- NXT_IOBUF_MAX * 10);
+ port->iov = nxt_mp_get(port->mem_pool,
+ sizeof(struct iovec) * NXT_IOBUF_MAX * 10);
+ port->mmsg_buf = nxt_mp_get(port->mem_pool,
+ sizeof(uint32_t) * 3 * NXT_IOBUF_MAX * 10);
}
}