diff options
author | pjd <pjd@FreeBSD.org> | 2011-01-31 23:08:26 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-01-31 23:08:26 +0000 |
commit | f5ee3977a7b32257a8acaacde32130a9fe4888d1 (patch) | |
tree | da58a6ca9c41559c2982d3aa9045555baa0c7402 /sbin/hastd | |
parent | 7b5f02683817156916bf66c8ccb5977d7e1e4907 (diff) | |
download | FreeBSD-src-f5ee3977a7b32257a8acaacde32130a9fe4888d1.zip FreeBSD-src-f5ee3977a7b32257a8acaacde32130a9fe4888d1.tar.gz |
Until I fix the build on ia64 comment out problematic lines.
Those lines are part of the (for now) unused functions.
Diffstat (limited to 'sbin/hastd')
-rw-r--r-- | sbin/hastd/proto_common.c | 4 |
1 files 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); } } |