From mboxrd@z Thu Jan 1 00:00:00 1970 From: pcaulfield@sourceware.org Date: 3 Aug 2007 10:49:11 -0000 Subject: [Cluster-devel] cluster/cman/daemon cmanccs.c Message-ID: <20070803104911.1308.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 Branch: RHEL5 Changes by: pcaulfield at sourceware.org 2007-08-03 10:49:11 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&only_with_tag=RHEL5&r1=1.21.2.4&r2=1.21.2.5 --- cluster/cman/daemon/cmanccs.c 2007/05/23 10:31:00 1.21.2.4 +++ cluster/cman/daemon/cmanccs.c 2007/08/03 10:49:11 1.21.2.5 @@ -424,9 +424,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);