[dovecot-cvs] dovecot/src/lib-imap imap-bodystructure.c, 1.55, 1.56 imap-envelope.c, 1.35, 1.36

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


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

Modified Files:
	imap-bodystructure.c imap-envelope.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: imap-bodystructure.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-imap/imap-bodystructure.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- imap-bodystructure.c	18 Feb 2006 09:59:13 -0000	1.55
+++ imap-bodystructure.c	26 Feb 2006 10:05:08 -0000	1.56
@@ -685,6 +685,6 @@
 		i_error("Error parsing IMAP bodystructure: %s", bodystructure);
 
 	imap_parser_destroy(&parser);
-	i_stream_unref(&input);
+	i_stream_destroy(&input);
 	return ret;
 }

Index: imap-envelope.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-imap/imap-envelope.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- imap-envelope.c	14 Jan 2006 18:47:34 -0000	1.35
+++ imap-envelope.c	26 Feb 2006 10:05:08 -0000	1.36
@@ -397,6 +397,6 @@
 	}
 
 	imap_parser_destroy(&parser);
-	i_stream_unref(&input);
+	i_stream_destroy(&input);
 	return ret;
 }



More information about the dovecot-cvs mailing list