Skip to contentSkip to conversation

cluster/rgmanager/src/daemons resrules.c

Cluster-devel [email protected] 1 participant 1 message Jan 30, 2008

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: lhh at sourceware.org 2008-01-30 20:00:15

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

Log message:
Fix short read handling in read_pipe

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/resrules.c.diff?cvsroot=cluster&r1=1.24&r2=1.25

rgmanager/src/daemons/resrules.c +1 -1
@@ -919,7 +919,7 @@
 		if (n == 0 && (!*length))
 			return 0;
 
-		if (n != sizeof(buf)) {
+		if (n == 0) {
 			done = 1;
 		}