mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-24 23:31:40 +02:00
CLEANUP: Fix typos in the socket pair protocol subsystem
Fixes typos in the code comments of the socket pair protocol subsystem.
This commit is contained in:
parent
3952643b35
commit
8bb32ae8c6
@ -213,7 +213,7 @@ int send_fd_uxst(int fd, int send_fd)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* This function works like uxst_connect_server but insteads of creating a
|
* This function works like uxst_connect_server but instead of creating a
|
||||||
* socket and establishing a connection, it creates a pair of connected
|
* socket and establishing a connection, it creates a pair of connected
|
||||||
* sockets, and send one of them through the destination FD. The destination FD
|
* sockets, and send one of them through the destination FD. The destination FD
|
||||||
* is stored in addr.to->sin_addr.s_addr during configuration parsing.
|
* is stored in addr.to->sin_addr.s_addr during configuration parsing.
|
||||||
@ -346,11 +346,11 @@ static int sockpair_connect_server(struct connection *conn, int data, int delack
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Receive a file descriptor transfered from a unix socket.
|
* Receives a file descriptor transferred from a unix socket.
|
||||||
*
|
*
|
||||||
* Return -1 or a socket fd;
|
* Return -1 or a socket fd;
|
||||||
*
|
*
|
||||||
* The iobuf variable could be use in the future to enhance the protocol.
|
* The iobuf variable could be used in the future to enhance the protocol.
|
||||||
*/
|
*/
|
||||||
int recv_fd_uxst(int sock)
|
int recv_fd_uxst(int sock)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user