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.
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);
}
case MUTT_MH:
{
- r = mh_commit_message (ctx, msg, NULL);
+ r = mh_commit_message (ctx, msg);
break;
}
}
int maildir_check_empty (const char *);
int maildir_commit_message (CONTEXT *, MESSAGE *, HEADER *);
-int mh_commit_message (CONTEXT *, MESSAGE *, HEADER *);
+int mh_commit_message (CONTEXT *, MESSAGE *);
FILE *maildir_open_find_message (const char *, const char *);