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

pcaulfield at sourceware.org pcaulfield at sourceware.org
Fri Aug 3 07:35:07 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	pcaulfield at sourceware.org	2007-08-03 07:35:07

Modified files:
	cman/daemon    : cmanccs.c 

Log message:
	Don't lost the cluster name if it is specified on the command line
	probably the cause of bz#250688

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/cmanccs.c.diff?cvsroot=cluster&r1=1.28&r2=1.29

--- cluster/cman/daemon/cmanccs.c	2007/05/21 10:48:40	1.28
+++ cluster/cman/daemon/cmanccs.c	2007/08/03 07:35:06	1.29
@@ -426,9 +426,9 @@
 			write_cman_pipe("Cluster name in CCS does not match that passed to cman_tool");
 			return -ENOENT;
 		}
-	} else {
-		strcpy(cluster_name, str);
 	}
+
+	strcpy(cluster_name, str);
 	free(str);
 
 	error = ccs_get(cd, CLUSTER_ID_PATH, &str);




More information about the Cluster-devel mailing list