diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-08-04 19:42:23 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-08-04 19:42:23 +0000 |
commit | 847d400a6b700152851c0ec65b1bc423099477d2 (patch) | |
tree | 9fe067a92e3b43fc76ccb33ff36c554148dafa6c /mbox.c | |
parent | 78f9cffc3f55f65df565dd27d6f84e7e5333654c (diff) |
Fix $save_empty.
Diffstat (limited to 'mbox.c')
-rw-r--r-- | mbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -70,7 +70,7 @@ void mbox_unlock_mailbox (CONTEXT *ctx) { fflush (ctx->fp); - mx_unlock_file (ctx->path, fileno (ctx->fp)); + mx_unlock_file (ctx->path, fileno (ctx->fp), 1); ctx->locked = 0; } } @@ -981,7 +981,7 @@ bail: /* Come here in case of disaster */ /* close a mailbox opened in write-mode */ int mbox_close_mailbox (CONTEXT *ctx) { - mx_unlock_file (ctx->path, fileno (ctx->fp)); + mx_unlock_file (ctx->path, fileno (ctx->fp), 1); mutt_unblock_signals (); mx_fastclose_mailbox (ctx); return 0; |