[dovecot-cvs] dovecot/src/lib-settings settings.c,1.12,1.13

cras at dovecot.org cras at dovecot.org
Sun Feb 26 12:05:16 EET 2006


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

Modified Files:
	settings.c 
Log Message:
Added i_stream_destroy() and o_stream_destroy() and used them instead of
*_stream_unref() where possible. Fixes at least one problem with io_remove()
being called after socket was closed, which caused problems with epoll.



Index: settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-settings/settings.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- settings.c	14 Jan 2006 18:47:36 -0000	1.12
+++ settings.c	26 Feb 2006 10:05:14 -0000	1.13
@@ -223,7 +223,7 @@
 		}
 	}
 
-	i_stream_unref(&input);
+	i_stream_destroy(&input);
 	t_pop();
 
 	return errormsg == NULL;



More information about the dovecot-cvs mailing list