[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: 	RHEL5
Changes by:	lhh sourceware org	2007-06-13 20:32:03

Modified files:
	rgmanager/src/daemons: restree.c 

Log message:
	Fix status check

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.5&r2=1.23.2.6

--- cluster/rgmanager/src/daemons/restree.c	2007/06/13 20:12:19	1.23.2.5
+++ cluster/rgmanager/src/daemons/restree.c	2007/06/13 20:32:02	1.23.2.6
@@ -523,7 +523,6 @@
 		free(ref);
 	}
 
-
 	curres->r_refs++;
 
 	*newnode = node;
@@ -1375,6 +1374,9 @@
 	int rv;
 	rv = _res_op(tree, res, NULL, ret, RS_STATUS);
 
+	if (rv == 0)
+		return 0;
+
 	if (rv & FL_FAILURE)
 		return rv;
 


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