svn commit: r218147 - head/sbin/hastd

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Jan 31 23:08:26 UTC 2011


Author: pjd
Date: Mon Jan 31 23:08:26 2011
New Revision: 218147
URL: http://svn.freebsd.org/changeset/base/218147

Log:
  Until I fix the build on ia64 comment out problematic lines.
  Those lines are part of the (for now) unused functions.

Modified:
  head/sbin/hastd/proto_common.c

Modified: head/sbin/hastd/proto_common.c
==============================================================================
--- head/sbin/hastd/proto_common.c	Mon Jan 31 22:45:14 2011	(r218146)
+++ head/sbin/hastd/proto_common.c	Mon Jan 31 23:08:26 2011	(r218147)
@@ -113,7 +113,7 @@ proto_common_descriptor_send(int sock, i
 	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, i
 	    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);
 		}
 	}


More information about the svn-src-all mailing list