summaryrefslogtreecommitdiffstats
path: root/mh.c
diff options
context:
space:
mode:
authorDamien Riegel <damien.riegel@gmail.com>2016-06-18 13:36:25 -0700
committerDamien Riegel <damien.riegel@gmail.com>2016-06-18 13:36:25 -0700
commit6bc176d7e881016391354bc09341d54ab6007544 (patch)
treef04bcf2c65be6892543cf6dcb15224f322f43da0 /mh.c
parentcd6f922006dc9e05b2227c981a001cd2edddcad7 (diff)
add commit_msg to struct mx_ops
Diffstat (limited to 'mh.c')
-rw-r--r--mh.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mh.c b/mh.c
index 6038132f..3898f259 100644
--- a/mh.c
+++ b/mh.c
@@ -1539,7 +1539,7 @@ static int _maildir_commit_message (CONTEXT * ctx, MESSAGE * msg, HEADER * hdr)
}
}
-int maildir_commit_message (CONTEXT * ctx, MESSAGE * msg)
+static int maildir_commit_message (CONTEXT * ctx, MESSAGE * msg)
{
return _maildir_commit_message (ctx, msg, NULL);
}
@@ -1625,7 +1625,7 @@ static int _mh_commit_message (CONTEXT * ctx, MESSAGE * msg, HEADER * hdr,
return 0;
}
-int mh_commit_message (CONTEXT * ctx, MESSAGE * msg)
+static int mh_commit_message (CONTEXT * ctx, MESSAGE * msg)
{
return _mh_commit_message (ctx, msg, NULL, 1);
}
@@ -2456,6 +2456,7 @@ struct mx_ops mx_maildir_ops = {
.close = mh_close_mailbox,
.open_msg = maildir_open_message,
.close_msg = mh_close_message,
+ .commit_msg = maildir_commit_message,
.open_new_msg = maildir_open_new_message,
.check = maildir_check_mailbox,
};
@@ -2465,6 +2466,7 @@ struct mx_ops mx_mh_ops = {
.close = mh_close_mailbox,
.open_msg = mh_open_message,
.close_msg = mh_close_message,
+ .commit_msg = mh_commit_message,
.open_new_msg = mh_open_new_message,
.check = mh_check_mailbox,
};