X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mx%2Fmbox.c;h=9eb2809388f0463841bf4a3f39559aab44efa5d9;hp=22f1172c35dcceb683d589bed15043c2b9f5ab02;hb=8297f3a57ccff9c0663551658cdd5d3bf166249d;hpb=799c3f5aec72b8230f9c3c284e2b2e9d67ecf366 diff --git a/lib-mx/mbox.c b/lib-mx/mbox.c index 22f1172..9eb2809 100644 --- a/lib-mx/mbox.c +++ b/lib-mx/mbox.c @@ -38,6 +38,12 @@ static int mbox_open_new_message(MESSAGE *msg, CONTEXT *dest, HEADER *hdr) return 0; } +static int mbox_open_message(MESSAGE *msg, CONTEXT *ctx, int msgno) +{ + msg->fp = ctx->fp; + return 0; +} + /* prototypes */ static int mbox_reopen_mailbox (CONTEXT*, int*); @@ -876,6 +882,7 @@ mx_t const mbox_mx = { access, mbox_open_mailbox, mbox_open_new_message, + mbox_open_message, NULL, mbox_check_mailbox, NULL,