Skip to contentSkip to conversation

cluster/cman/cman_tool join_ccs.c

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

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: pcaulfield at sourceware.org 2008-01-11 14:22:11

Modified files:
cman/cman_tool : join_ccs.c

Log message:

	Always use the nodename in cluster.conf for cluster name.
	bz#428219

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/cman_tool/join_ccs.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.7.2.8&r2=1.7.2.9

cman/cman_tool/Attic/join_ccs.c +1 -1
@@ -118,8 +118,8 @@
 
 		if (strlen(nodename2) == strlen(nodename3) &&
 		    !strncmp(nodename2, nodename3, strlen(nodename3))) {
+			strcpy(nodename, str);
 			free(str);
-			strcpy(nodename, nodename3);
 			return 0;
 		}