From mboxrd@z Thu Jan 1 00:00:00 1970 From: lhh@sourceware.org Date: 26 Jan 2007 22:13:29 -0000 Subject: [Cluster-devel] cluster/ccs/ccs_tool update.c Message-ID: <20070126221329.17812.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 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 --- cluster/ccs/ccs_tool/update.c 2006/11/28 11:20:01 1.9 +++ cluster/ccs/ccs_tool/update.c 2007/01/26 22:13:20 1.10 @@ -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",