diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-07-01 09:45:12 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-07-01 09:45:12 +0000 |
commit | 32016c8f74f4914c71e2c006c82ab7a6c7ddebd6 (patch) | |
tree | 3bc556f813a6d8377bddefaf21c36621d56928a0 /pop.c | |
parent | edfda8e884b92c31e0fe1c9a27cc32077862059f (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.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) |