From mboxrd@z Thu Jan 1 00:00:00 1970 From: pcaulfield@sourceware.org Date: 2 Jan 2008 16:23:29 -0000 Subject: [Cluster-devel] cluster/cman/daemon commands.c Message-ID: <20080102162329.20123.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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: