diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-08-11 21:48:27 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-08-11 21:48:27 +0300 |
commit | f147943f6382c0e90a216615ff9bcf57a3db8c75 (patch) | |
tree | 010f4456ebe12f79bbfc407ef1a851a7af503aba /src/nxt_controller.c | |
parent | acb0cca49def92563d9b221d818b541b60e30eaa (diff) | |
download | unit-f147943f6382c0e90a216615ff9bcf57a3db8c75.tar.gz unit-f147943f6382c0e90a216615ff9bcf57a3db8c75.tar.bz2 |
Style fixes for 2 file descriptors transfer over port.
Two consecutive fd and fd2 fields replaced with array.
Diffstat (limited to 'src/nxt_controller.c')
-rw-r--r-- | src/nxt_controller.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_controller.c b/src/nxt_controller.c index 8c9d4c53..9a34a877 100644 --- a/src/nxt_controller.c +++ b/src/nxt_controller.c @@ -1590,9 +1590,9 @@ nxt_controller_process_cert_save(nxt_task_t *task, nxt_port_recv_msg_t *msg, mbuf = &c->read->mem; - nxt_fd_write(msg->fd, mbuf->pos, nxt_buf_mem_used_size(mbuf)); + nxt_fd_write(msg->fd[0], mbuf->pos, nxt_buf_mem_used_size(mbuf)); - nxt_fd_close(msg->fd); + nxt_fd_close(msg->fd[0]); nxt_memzero(&resp, sizeof(nxt_controller_response_t)); |