Skip to contentSkip to conversation

cluster/ccs/ccs_tool update.c

Cluster-devel [email protected] 1 participant 1 message Jan 26, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: lhh at sourceware.org 2007-01-26 22:13:22

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&r1=1.9&r2=1.10

ccs/ccs_tool/update.c +4 -0
@@ -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",