[dovecot-cvs] dovecot/src/imap client.c,1.65,1.66
cras at dovecot.org
cras at dovecot.org
Sun Feb 26 12:05:07 EET 2006
- Previous message: [dovecot-cvs] dovecot/src/dict dict-server.c,1.10,1.11
- Next 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
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv5842/imap
Modified Files:
client.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: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/client.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- client.c 29 Jan 2006 12:41:37 -0000 1.65
+++ client.c 26 Feb 2006 10:05:05 -0000 1.66
@@ -86,8 +86,8 @@
if (client->io != NULL)
io_remove(&client->io);
- i_stream_unref(&client->input);
- o_stream_unref(&client->output);
+ i_stream_destroy(&client->input);
+ o_stream_destroy(&client->output);
if (close(client->fd_in) < 0)
i_error("close(client in) failed: %m");
- Previous message: [dovecot-cvs] dovecot/src/dict dict-server.c,1.10,1.11
- Next 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
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list