summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port_socket.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-04-05 15:49:41 +0300
committerValentin Bartenev <vbart@nginx.com>2018-04-05 15:49:41 +0300
commitd15b4ca90639d0e6a5caab9ec905e49228072faf (patch)
treeb929a2fed7cc997a5e18e42e74858c09d8258306 /src/nxt_port_socket.c
parent49bd3a21e0f995c895b445c0566227661418c2bc (diff)
downloadunit-d15b4ca90639d0e6a5caab9ec905e49228072faf.tar.gz
unit-d15b4ca90639d0e6a5caab9ec905e49228072faf.tar.bz2
Style.
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);
}
}