Commit 4980993b authored by Thomas Roessler's avatar Thomas Roessler

Catch an error condition when synchronizing mh messages.

parent a59db9d6
......@@ -402,6 +402,16 @@ static int mh_sync_message (CONTEXT *ctx, int msgno)
}
else
{
/* mutt_copy_message() will have changed
* some of the internal state of the message,
* but we can't commit it here.
*
* Reparse later.
*
*/
mutt_free_body (&h->content->parts);
fclose (f);
return (-1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment