[dovecot-cvs] dovecot/src/lib ostream-file.c,1.55,1.56

cras at dovecot.org cras at dovecot.org
Sun Oct 16 01:21:33 EEST 2005


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv12604

Modified Files:
	ostream-file.c 
Log Message:
Cleanup



Index: ostream-file.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/ostream-file.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- ostream-file.c	15 Oct 2005 20:11:27 -0000	1.55
+++ ostream-file.c	15 Oct 2005 22:21:31 -0000	1.56
@@ -367,10 +367,7 @@
 			fstream->io = NULL;
 		}
 	} else {
-		if (fstream->io == NULL) {
-			fstream->io = io_add(fstream->fd, IO_WRITE,
-					     stream_send_io, fstream);
-		}
+		i_assert(fstream->io != NULL);
 	}
 
 	o_stream_unref(&fstream->ostream.ostream);



More information about the dovecot-cvs mailing list