• Patch: Elm ME+ 2.5 PLalpha49 -> Elm ME+ 2.5 PLalpha50 [2/7] (3/7)

    From Kari Hurtta@21:1/5 to All on Mon Jun 10 20:52:35 2019
    [continued from previous message]

    ! } else {
    ! clean1:
    ! DPRINT(Debug,11,(&Debug,
    ! "mbx_copy_envelope_end_imap: Can't update listing\n"));
    ! }
    !
    ! increment_uid_number(& (folder -> p->a.imap_mbx),
    ! & (read_state_ptr->a.imap_mbx.current_message));
    !
    ! } else {
    !
    ! read_state_ptr->a.imap_mbx.current_message.uid_number =
    ! folder -> p->a.imap_mbx.references[idx].uid_number;
    ! read_state_ptr->a.imap_mbx.current_message.last_mbx_index =
    ! idx;
    ! }
    !
    } else {
    DPRINT(Debug,11,(&Debug,
    "mbx_copy_envelope_end_imap: End of mailbox\n")); ***************
    *** 4038,4043 ****
    --- 4566,4576 ----
    "mbx_copy_envelope_end_imap: EXPUNGE middle of FETCH ???\n"));
    }

    + DPRINT(Debug,11,(&Debug,
    + "mbx_copy_envelope_end_imap: Next UID %d -- assumed index %d\n",
    + read_state_ptr->a.imap_mbx.current_message.uid_number,
    + read_state_ptr->a.imap_mbx.current_message.last_mbx_index));
    +
    switch (read_state_ptr -> skipping) {
    case sm_EOM:
    DPRINT(Debug,20,(&Debug,
    ***************
    *** 4049,4055 ****
    */

    if (!mbx_copy_line_to_temp(folder,"\n",1)) {
    ! status = 0;
    goto clean;
    }
    read_state_ptr -> fbytes ++; /* Increment position */
    --- 4582,4588 ----
    */

    if (!mbx_copy_line_to_temp(folder,"\n",1)) {
    ! status = copy_env_end_failure;
    goto clean;
    }
    read_state_ptr -> fbytes ++; /* Increment position */ ***************
    *** 4061,4078 ****
    break;

    }
    ! status = 1;

    clean:
    read_state_ptr -> skipping = sm_reading;
    imap_clear_command(con);