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 /attach.c | |
parent | edfda8e884b92c31e0fe1c9a27cc32077862059f (diff) |
Various patches from last week, including:
- new mh/maildir access code.
- subscribe/unsubscribe
- various fixes.
Diffstat (limited to 'attach.c')
-rw-r--r-- | attach.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,6 @@ /* * Copyright (C) 1996-8 Michael R. Elkins <me@cs.hmc.edu> + * Copyright (C) 1999 Thomas Roessler <roessler@guug.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -699,9 +700,10 @@ int mutt_save_attachment (FILE *fp, BODY *m, char *path, int flags, HEADER *hdr) chflags |= (ctx.magic == M_MAILDIR ? CH_NOSTATUS : CH_UPDATE); if ((r = _mutt_copy_message (msg->fp, fp, hn, hn->content, 0, chflags)) == 0) mutt_message _("Attachment saved."); - + + mx_commit_message (msg, &ctx); mx_close_message (&msg); - mx_close_mailbox(&ctx); + mx_close_mailbox (&ctx); return r; } else |