# HG changeset patch # User Timo Sirainen # Date 1202163651 -7200 # Node ID 492c5dfc5fd80633888da40fc4f12cf9fc635c38 # Parent 2d58b1c2dfd0298dd4d7a75d7f2b37422bf6e087 Fixed a potential hang after APPEND. 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 @@ (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