changeset 7215:492c5dfc5fd8 HEAD

Fixed a potential hang after APPEND.
author Timo Sirainen <tss@iki.fi>
date Tue, 05 Feb 2008 00:20:51 +0200
parents 2d58b1c2dfd0
children 56f8ac7a3a77
files src/imap/cmd-append.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 		(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