[Cluster-devel] cluster/rgmanager/src/daemons restree.c
lhh at sourceware.org
lhh at sourceware.org
Wed May 2 22:58:35 UTC 2007
CVSROOT: /cvs/cluster
Module name: cluster
Branch: STABLE
Changes by: lhh at sourceware.org 2007-05-02 22:58:35
Modified files:
rgmanager/src/daemons: restree.c
Log message:
Fix 212121, part 5
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/restree.c.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.10.2.2.6.11&r2=1.10.2.2.6.12
--- cluster/rgmanager/src/daemons/restree.c 2007/03/22 23:24:06 1.10.2.2.6.11
+++ cluster/rgmanager/src/daemons/restree.c 2007/05/02 22:58:35 1.10.2.2.6.12
@@ -582,7 +582,6 @@
resource_rule_t *childrule;
resource_node_t *node;
char *ref;
- char *newchild;
char *tmp;
int ccount = 0, x = 0, y = 0, flags = 0;
@@ -712,14 +711,6 @@
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