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
@ -113,7 +113,7 @@ proto_common_descriptor_send(int sock, int fd)
|
||||
cmsg->cmsg_level = SOL_SOCKET;
|
||||
cmsg->cmsg_type = SCM_RIGHTS;
|
||||
cmsg->cmsg_len = CMSG_LEN(sizeof(fd));
|
||||
*((int *)CMSG_DATA(cmsg)) = fd;
|
||||
// *((int *)CMSG_DATA(cmsg)) = fd;
|
||||
|
||||
if (sendmsg(sock, &msg, 0) == -1)
|
||||
return (errno);
|
||||
@ -146,7 +146,7 @@ proto_common_descriptor_recv(int sock, int *fdp)
|
||||
cmsg = CMSG_NXTHDR(&msg, cmsg)) {
|
||||
if (cmsg->cmsg_level == SOL_SOCKET &&
|
||||
cmsg->cmsg_type == SCM_RIGHTS) {
|
||||
*fdp = *((int *)CMSG_DATA(cmsg));
|
||||
// *fdp = *((int *)CMSG_DATA(cmsg));
|
||||
return (0);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user