dovecot: Fixed a potential hang after APPEND.

dovecot at dovecot.org dovecot at dovecot.org
Tue Feb 5 00:20:54 EET 2008


details:   http://hg.dovecot.org/dovecot/rev/492c5dfc5fd8
changeset: 7215:492c5dfc5fd8
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Feb 05 00:20:51 2008 +0200
description:
Fixed a potential hang after APPEND.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/imap/cmd-append.c |    4 ++--

diffs (14 lines):

diff -r 2d58b1c2dfd0 -r 492c5dfc5fd8 src/imap/cmd-append.c
--- a/src/imap/cmd-append.c	Mon Feb 04 21:25:54 2008 +0200
+++ b/src/imap/cmd-append.c	Tue Feb 05 00:20:51 2008 +0200
@@ -80,8 +80,8 @@ static void client_input_append(struct c
 		(void)client_handle_unfinished_cmd(cmd);
 	else
 		client_command_free(cmd);
-	if (cmd_sync_delayed(client))
-		client_continue_pending_input(&client);
+	(void)cmd_sync_delayed(client);
+	client_continue_pending_input(&client);
 }
 
 /* Returns -1 = error, 0 = need more data, 1 = successful. flags and


More information about the dovecot-cvs mailing list