[dovecot-cvs] dovecot/src/lib-dict dict-client.c, 1.7,
1.8 dict-sql.c, 1.7, 1.8
cras at dovecot.org
cras at dovecot.org
Sun Feb 26 12:05:10 EET 2006
- Previous message: [dovecot-cvs]
dovecot/src/lib istream.c, 1.33, 1.34 istream.h, 1.23,
1.24 ostream.c, 1.15, 1.16 ostream.h, 1.14, 1.15
- Next message: [dovecot-cvs] dovecot/src/lib-imap imap-bodystructure.c, 1.55,
1.56 imap-envelope.c, 1.35, 1.36
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-dict
In directory talvi:/tmp/cvs-serv5842/lib-dict
Modified Files:
dict-client.c dict-sql.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: dict-client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-dict/dict-client.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- dict-client.c 7 Feb 2006 08:01:15 -0000 1.7
+++ dict-client.c 26 Feb 2006 10:05:07 -0000 1.8
@@ -209,9 +209,9 @@
dict->handshaked = FALSE;
if (dict->input != NULL)
- i_stream_unref(&dict->input);
+ i_stream_destroy(&dict->input);
if (dict->output != NULL)
- o_stream_unref(&dict->output);
+ o_stream_destroy(&dict->output);
if (dict->fd != -1) {
if (close(dict->fd) < 0)
Index: dict-sql.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-dict/dict-sql.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- dict-sql.c 31 Jan 2006 06:05:22 -0000 1.7
+++ dict-sql.c 26 Feb 2006 10:05:07 -0000 1.8
@@ -72,7 +72,7 @@
t_pop();
}
- i_stream_unref(&input);
+ i_stream_destroy(&input);
(void)close(fd);
if (dict->connect_string == NULL) {
- Previous message: [dovecot-cvs]
dovecot/src/lib istream.c, 1.33, 1.34 istream.h, 1.23,
1.24 ostream.c, 1.15, 1.16 ostream.h, 1.14, 1.15
- Next message: [dovecot-cvs] dovecot/src/lib-imap imap-bodystructure.c, 1.55,
1.56 imap-envelope.c, 1.35, 1.36
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list