[Cluster-devel] cluster/rgmanager/src/daemons restree.c
lhh at sourceware.org
lhh at sourceware.org
Thu May 3 15:14:17 UTC 2007
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: lhh at sourceware.org 2007-05-03 15:14:16
Modified files:
rgmanager/src/daemons: restree.c
Log message:
Fix corner case reported in #212121
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/restree.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.23.2.2&r2=1.23.2.3
--- cluster/rgmanager/src/daemons/restree.c 2007/03/23 00:06:34 1.23.2.2
+++ cluster/rgmanager/src/daemons/restree.c 2007/05/03 15:14:16 1.23.2.3
@@ -543,7 +543,6 @@
resource_rule_t *childrule;
resource_node_t *node;
char *ref;
- char *newchild;
char *tmp;
int ccount = 0, x = 0, y = 0, flags = 0;
@@ -672,15 +671,6 @@
free(ref);
continue;
}
-
- /* store it once */
- if (!flags && rule) {
- //printf("Storing new child %s of %s\n",
- //ref, rule->rr_type);
- newchild = strdup(ref);
- store_childtype(&rule->rr_childtypes,
- newchild, 0, 0, 0, 1);
- }
free(ref);
x = 1;
More information about the Cluster-devel
mailing list