summaryrefslogtreecommitdiffstats
path: root/mh.c
diff options
context:
space:
mode:
authorDamien Riegel <damien.riegel@gmail.com>2016-06-18 13:36:12 -0700
committerDamien Riegel <damien.riegel@gmail.com>2016-06-18 13:36:12 -0700
commit3e064657c6a3f46ef24b20130a7745fe30b08476 (patch)
treec1827ac20ab953f4c313eff06836f71fc75b1c19 /mh.c
parent1552f6bcfb995110a34ddb32b117b967a2d9ad88 (diff)
remove unused HEADER parameter in mh_commit_message
mh_commit_message is only called in one place with the header parameter set to NULL. To make the commit function consistent with other mailboxes, which only takes ctx and msg as parameters, remove this unused parameter.
Diffstat (limited to 'mh.c')
-rw-r--r--mh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mh.c b/mh.c
index 41795713..d4e9c1dd 100644
--- a/mh.c
+++ b/mh.c
@@ -1620,9 +1620,9 @@ static int _mh_commit_message (CONTEXT * ctx, MESSAGE * msg, HEADER * hdr,
return 0;
}
-int mh_commit_message (CONTEXT * ctx, MESSAGE * msg, HEADER * hdr)
+int mh_commit_message (CONTEXT * ctx, MESSAGE * msg)
{
- return _mh_commit_message (ctx, msg, hdr, 1);
+ return _mh_commit_message (ctx, msg, NULL, 1);
}