[dovecot-cvs] dovecot/src/lib ostream.c,1.4,1.5

cras at procontrol.fi cras at procontrol.fi
Thu Jan 9 01:35:11 EET 2003


Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv7178

Modified Files:
	ostream.c 
Log Message:
Remove one of the previous speedups, it broke things



Index: ostream.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/ostream.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ostream.c	8 Jan 2003 18:51:46 -0000	1.4
+++ ostream.c	8 Jan 2003 23:35:09 -0000	1.5
@@ -99,6 +99,9 @@
 	if (stream->closed)
 		return -1;
 
+	if (size == 0)
+		return 0;
+
 	return _stream->send(_stream, data, size);
 }
 




More information about the dovecot-cvs mailing list