summaryrefslogtreecommitdiffstats
path: root/pop.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-07-01 09:45:12 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-07-01 09:45:12 +0000
commit32016c8f74f4914c71e2c006c82ab7a6c7ddebd6 (patch)
tree3bc556f813a6d8377bddefaf21c36621d56928a0 /pop.c
parentedfda8e884b92c31e0fe1c9a27cc32077862059f (diff)
Various patches from last week, including:
- new mh/maildir access code. - subscribe/unsubscribe - various fixes.
Diffstat (limited to 'pop.c')
-rw-r--r--pop.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/pop.c b/pop.c
index 42eb3a57..23986e55 100644
--- a/pop.c
+++ b/pop.c
@@ -276,12 +276,14 @@ void mutt_fetchPopMail (void)
fwrite (p, 1, chunk, msg->fp);
}
- if (mx_close_message (&msg) != 0)
+ if (mx_commit_message (msg, &ctx) != 0)
{
mutt_error _("Error while writing mailbox!");
err = 1;
}
+ mx_close_message (&msg);
+
if (err)
break;
@@ -306,7 +308,10 @@ void mutt_fetchPopMail (void)
}
if (msg)
+ {
+ mx_commit_message (msg, &ctx);
mx_close_message (&msg);
+ }
mx_close_mailbox (&ctx);
if (err)