Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jan 2011 23:08:26 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218147 - head/sbin/hastd
Message-ID:  <201101312308.p0VN8QYj048848@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 		}
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101312308.p0VN8QYj048848>