[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
Changes by:	lhh sourceware org	2007-05-03 15:15:17

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&r1=1.29&r2=1.30

--- cluster/rgmanager/src/daemons/restree.c	2007/04/04 19:22:29	1.29
+++ cluster/rgmanager/src/daemons/restree.c	2007/05/03 15:15:17	1.30
@@ -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;


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