[dovecot-cvs] dovecot/src/lib-mail message-body-search.c,1.26,1.27
cras at dovecot.org
cras at dovecot.org
Sun Feb 26 12:05:17 EET 2006
Update of /var/lib/cvs/dovecot/src/lib-mail
In directory talvi:/tmp/cvs-serv5842/lib-mail
Modified Files:
message-body-search.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: message-body-search.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-mail/message-body-search.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- message-body-search.c 14 Jan 2006 18:47:35 -0000 1.26
+++ message-body-search.c 26 Feb 2006 10:05:14 -0000 1.27
@@ -346,7 +346,7 @@
pos -= data_size;
}
- i_stream_unref(&input);
+ i_stream_destroy(&input);
if (ctx->translation != NULL)
charset_to_utf8_end(&ctx->translation);
More information about the dovecot-cvs
mailing list