Changeset 1599:69ec01f3d9e1 for attach.c

Show
Ignore:
Timestamp:
2000-03-03 01:54:22 (9 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Fix index updates when closing or synching mail folders fails.
There were some bug-fixes hidden in that code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • attach.c

    r1546 r1599  
    697697      if ((msg = mx_open_new_message (&ctx, hn, is_from (buf, NULL, 0) ? 0 : M_ADD_FROM)) == NULL) 
    698698      { 
    699         mx_close_mailbox(&ctx); 
     699        mx_close_mailbox(&ctx, NULL); 
    700700        return -1; 
    701701      } 
     
    710710 
    711711      mx_close_message (&msg); 
    712       mx_close_mailbox (&ctx); 
     712      mx_close_mailbox (&ctx, NULL); 
    713713      return r; 
    714714    }