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:
Pawel Jakub Dawidek 2011-01-31 23:08:26 +00:00
parent 59d7849bbd
commit 2c450cb873
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218147

View File

@ -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);
}
}