[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/rgmanager/src/daemons restree.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL45
Changes by:	lhh sourceware org	2007-05-02 22:40:43

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=RHEL45&r1=1.10.2.14.2.1&r2=1.10.2.14.2.2

--- cluster/rgmanager/src/daemons/restree.c	2007/03/22 23:23:17	1.10.2.14.2.1
+++ cluster/rgmanager/src/daemons/restree.c	2007/05/02 22:40:42	1.10.2.14.2.2
@@ -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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]