[dovecot-cvs] dovecot/src/util rawlog.c,1.7,1.8
cras at dovecot.org
cras at dovecot.org
Sun Feb 26 12:05:36 EET 2006
- Previous message: [dovecot-cvs] dovecot/src/pop3 client.c,1.62,1.63
- Next message: [dovecot-cvs] dovecot/src/lib Makefile.am, 1.60,
1.61 nfs-workarounds.c, NONE, 1.1 nfs-workarounds.h, NONE,
1.1 safe-open.c, 1.1, NONE safe-open.h, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/util
In directory talvi:/tmp/cvs-serv5842/util
Modified Files:
rawlog.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: rawlog.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/util/rawlog.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- rawlog.c 14 Jan 2006 18:48:18 -0000 1.7
+++ rawlog.c 26 Feb 2006 10:05:31 -0000 1.8
@@ -52,9 +52,9 @@
if (proxy->server_io != NULL)
io_remove(&proxy->server_io);
- i_stream_unref(&proxy->server_input);
- o_stream_unref(&proxy->client_output);
- o_stream_unref(&proxy->server_output);
+ i_stream_destroy(&proxy->server_input);
+ o_stream_destroy(&proxy->client_output);
+ o_stream_destroy(&proxy->server_output);
if (close(proxy->client_in_fd) < 0)
i_error("close(client_in_fd) failed: %m");
- Previous message: [dovecot-cvs] dovecot/src/pop3 client.c,1.62,1.63
- Next message: [dovecot-cvs] dovecot/src/lib Makefile.am, 1.60,
1.61 nfs-workarounds.c, NONE, 1.1 nfs-workarounds.h, NONE,
1.1 safe-open.c, 1.1, NONE safe-open.h, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list