[dovecot-cvs] dovecot-lda/src deliver.c,1.37,1.38

cras at dovecot.org cras at dovecot.org
Sun Feb 5 09:08:39 EET 2006


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

Modified Files:
	deliver.c 
Log Message:
Close auth socket fd.



Index: deliver.c
===================================================================
RCS file: /var/lib/cvs/dovecot-lda/src/deliver.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- deliver.c	22 Jan 2006 12:30:04 -0000	1.37
+++ deliver.c	5 Feb 2006 07:08:36 -0000	1.38
@@ -154,6 +154,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