projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More unused
[apps/madmutt.git]
/
lib-mx
/
mbox.c
diff --git
a/lib-mx/mbox.c
b/lib-mx/mbox.c
index
22f1172
..
9eb2809
100644
(file)
--- 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;
}
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*);
/* 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,
access,
mbox_open_mailbox,
mbox_open_new_message,
+ mbox_open_message,
NULL,
mbox_check_mailbox,
NULL,
NULL,
mbox_check_mailbox,
NULL,