[Cluster-devel] cluster/cman/daemon commands.c

pcaulfield at sourceware.org pcaulfield at sourceware.org
Wed Jan 2 16:23:29 UTC 2008


CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	pcaulfield at sourceware.org	2008-01-02 16:23:29

Modified files:
	cman/daemon    : commands.c 

Log message:
	Lets see if I can do this commit properly...
	Fix swab of an int to be swab32 rather than swab16

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/commands.c.diff?cvsroot=cluster&r1=1.78&r2=1.79

--- cluster/cman/daemon/commands.c	2008/01/02 09:27:12	1.78
+++ cluster/cman/daemon/commands.c	2008/01/02 16:23:28	1.79
@@ -1627,7 +1627,7 @@
 	case CLUSTER_MSG_KILLNODE:
 		killmsg = (struct cl_killmsg *)data;
 		killmsg->reason = swab16(killmsg->reason);
-		killmsg->nodeid = swab16(killmsg->nodeid);
+		killmsg->nodeid = swab32(killmsg->nodeid);
 		break;
 
 	case CLUSTER_MSG_LEAVE:




More information about the Cluster-devel mailing list