From f5ee3977a7b32257a8acaacde32130a9fe4888d1 Mon Sep 17 00:00:00 2001 From: pjd Date: Mon, 31 Jan 2011 23:08:26 +0000 Subject: Until I fix the build on ia64 comment out problematic lines. Those lines are part of the (for now) unused functions. --- sbin/hastd/proto_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/hastd/proto_common.c b/sbin/hastd/proto_common.c index d638d3b..ef293d6 100644 --- a/sbin/hastd/proto_common.c +++ b/sbin/hastd/proto_common.c @@ -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); } } -- cgit v1.1