[Cluster-devel] cluster/ccs/ccs_tool update.c

lhh at sourceware.org lhh at sourceware.org
Fri Jan 26 22:14:30 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	lhh at sourceware.org	2007-01-26 22:14:25

Modified files:
	ccs/ccs_tool   : update.c 

Log message:
	Fix 223519

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/ccs_tool/update.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.8.2.1&r2=1.8.2.2

--- cluster/ccs/ccs_tool/update.c	2006/11/28 11:23:16	1.8.2.1
+++ cluster/ccs/ccs_tool/update.c	2007/01/26 22:14:22	1.8.2.2
@@ -243,6 +243,8 @@
   swab_header(ch);
   
   for (i = 0; i < members->count; i++) {
+    if (members->nodes[i].cn_nodeid == 0)
+      continue;
     fd = ccs_open(members->nodes[i], cluster_base_port, 5);
 
     if (fd < 0) {
@@ -292,6 +294,8 @@
   swab_header(ch);
 
   for (i=0; i < members->count; i++) {
+    if (members->nodes[i].cn_nodeid == 0)
+      continue;
     fd = ccs_open(members->nodes[i], cluster_base_port, 5);
     if(fd < 0){
       fprintf(stderr, "Unable to open connection to %s: %s\n",




More information about the Cluster-devel mailing list