Patch: Elm ME+ 2.5 PLalpha49 -> Elm ME+ 2.5 PLalpha50 [2/7] (2/7)
From
Kari Hurtta@21:1/5 to
All on Mon Jun 10 20:52:35 2019
[continued from previous message]
! static void mbx_flush_imap P_((struct folder_info *folder));
! static void mbx_flush_imap(folder)
struct folder_info *folder;
{
struct connection_cache *con;
!
!
DPRINT(Debug,11,(&Debug,
"mbx_flush_imap: folder=%p (%s)\n",
folder,folder->cur_folder_sys));
--- 3107,3128 ----
return status;
}
! S_(mbx_flush_folder mbx_flush_imap)
! static int mbx_flush_imap P_((struct folder_info *folder,
! int *err_p /* errno value */,
! struct cancel_data * cd /* Allow cancelation (Ctrl-C)
! on remote mailbox
! */));
! static int mbx_flush_imap(folder,err_p,cd)
struct folder_info *folder;
+ int *err_p /* errno value */;
+ struct cancel_data * cd /* Allow cancelation (Ctrl-C)
+ on remote mailbox
+ */;
{
struct connection_cache *con;
! int ret = 1;
!
DPRINT(Debug,11,(&Debug,
"mbx_flush_imap: folder=%p (%s)\n",
folder,folder->cur_folder_sys));
***************
*** 2919,2924 ****
--- 3133,3140 ----
con = folder->p->a.imap_mbx.Ch;
if (con) {
+ int ret1 = 0;
+
#if 0
imap_states res;
#endif
***************
*** 2928,2935 ****
"Wrong type connection attached to folder",0);
}
! mbx_flush_temp(folde