dovecot-2.2: pop3c: Fixed losing timeout on ioloop change.

dovecot at dovecot.org dovecot at dovecot.org
Fri Aug 10 05:24:39 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/edb8d177bd37
changeset: 14755:edb8d177bd37
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jun 25 00:18:31 2012 +0300
description:
pop3c: Fixed losing timeout on ioloop change.

diffstat:

 src/lib-storage/index/pop3c/pop3c-client.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 4edce2f57264 -r edb8d177bd37 src/lib-storage/index/pop3c/pop3c-client.c
--- a/src/lib-storage/index/pop3c/pop3c-client.c	Sun Jun 24 21:35:18 2012 +0300
+++ b/src/lib-storage/index/pop3c/pop3c-client.c	Mon Jun 25 00:18:31 2012 +0300
@@ -166,7 +166,7 @@
 static void pop3c_client_ioloop_changed(struct pop3c_client *client)
 {
 	if (client->to != NULL)
-		io_loop_move_timeout(&client->to);
+		client->to = io_loop_move_timeout(&client->to);
 	if (client->io != NULL)
 		client->io = io_loop_move_io(&client->io);
 	if (client->output != NULL)


More information about the dovecot-cvs mailing list