summaryrefslogtreecommitdiffstats
path: root/mbox.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-08-04 19:42:23 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-08-04 19:42:23 +0000
commit847d400a6b700152851c0ec65b1bc423099477d2 (patch)
tree9fe067a92e3b43fc76ccb33ff36c554148dafa6c /mbox.c
parent78f9cffc3f55f65df565dd27d6f84e7e5333654c (diff)
Fix $save_empty.
Diffstat (limited to 'mbox.c')
-rw-r--r--mbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbox.c b/mbox.c
index 175b24a7..9d274eb7 100644
--- a/mbox.c
+++ b/mbox.c
@@ -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;