Skip to contentSkip to conversation

cluster/cman/daemon commands.c

Cluster-devel [email protected] 1 participant 1 message Jan 2, 2008

lore
Share & tools
lore
#0 lore raw

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

cman/daemon/commands.c +1 -1
@@ -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: