File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7378,8 +7378,8 @@ def test_send_recv_fds_with_addrs(self):
73787378
73797379 socket .send_fds (sock1 , [MSG ], [rfd ], address = sock2_addr )
73807380 if sys .platform .startswith ("freebsd" ):
7381- # FreeBSD requires at least CMSG_LEN(2 * sizeof(int)), otherwise
7382- # the cmsg will be truncated
7381+ # FreeBSD requires at least CMSG_LEN(2* sizeof(int)),
7382+ # otherwise the access control message is truncated.
73837383 recv_fds_len = 2
73847384 else :
73857385 recv_fds_len = 1
@@ -7449,8 +7449,8 @@ def test_send_fds_dontwait(self):
74497449 socket .send_fds (sock1 , [MSG ], [rfd ], socket .MSG_DONTWAIT )
74507450
74517451 if sys .platform .startswith ("freebsd" ):
7452- # FreeBSD requires at least CMSG_LEN(2 * sizeof(int)), otherwise
7453- # the cmsg will be truncated
7452+ # FreeBSD requires at least CMSG_LEN(2* sizeof(int)),
7453+ # otherwise the access control message is truncated.
74547454 recv_fds_len = 2
74557455 else :
74567456 recv_fds_len = 1
You can’t perform that action at this time.
0 commit comments