Until I fix the build on ia64 comment out problematic lines.
Those lines are part of the (for now) unused functions.
This commit is contained in:
parent
59d7849bbd
commit
2c450cb873
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218147
@ -113,7 +113,7 @@ proto_common_descriptor_send(int sock, int fd)
|
|||||||
cmsg->cmsg_level = SOL_SOCKET;
|
cmsg->cmsg_level = SOL_SOCKET;
|
||||||
cmsg->cmsg_type = SCM_RIGHTS;
|
cmsg->cmsg_type = SCM_RIGHTS;
|
||||||
cmsg->cmsg_len = CMSG_LEN(sizeof(fd));
|
cmsg->cmsg_len = CMSG_LEN(sizeof(fd));
|
||||||
*((int *)CMSG_DATA(cmsg)) = fd;
|
// *((int *)CMSG_DATA(cmsg)) = fd;
|
||||||
|
|
||||||
if (sendmsg(sock, &msg, 0) == -1)
|
if (sendmsg(sock, &msg, 0) == -1)
|
||||||
return (errno);
|
return (errno);
|
||||||
@ -146,7 +146,7 @@ proto_common_descriptor_recv(int sock, int *fdp)
|
|||||||
cmsg = CMSG_NXTHDR(&msg, cmsg)) {
|
cmsg = CMSG_NXTHDR(&msg, cmsg)) {
|
||||||
if (cmsg->cmsg_level == SOL_SOCKET &&
|
if (cmsg->cmsg_level == SOL_SOCKET &&
|
||||||
cmsg->cmsg_type == SCM_RIGHTS) {
|
cmsg->cmsg_type == SCM_RIGHTS) {
|
||||||
*fdp = *((int *)CMSG_DATA(cmsg));
|
// *fdp = *((int *)CMSG_DATA(cmsg));
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user