[dovecot-cvs] dovecot/src/deliver deliver.c,1.16,1.17

cras at dovecot.org cras at dovecot.org
Sun Jan 29 14:14:45 EET 2006


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

Modified Files:
	deliver.c 
Log Message:
Call io_remove() before closing the fd. It's required by kqueue.



Index: deliver.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/deliver/deliver.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- deliver.c	2 Jan 2006 13:45:40 -0000	1.16
+++ deliver.c	29 Jan 2006 12:14:43 -0000	1.17
@@ -132,6 +132,8 @@
 	io_remove(conn->io);
 	i_stream_unref(conn->input);
 	o_stream_unref(conn->output);
+	if (close(conn->fd) < 0)
+		i_error("close() failed: %m");
 	i_free(conn);
 }
 



More information about the dovecot-cvs mailing list