From: Richard Russon Date: Tue, 4 Sep 2018 21:42:31 +0000 (+0100) Subject: add missing mxapi functions X-Git-Tag: 2019-10-25~661^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4cabb6a25233850246878aa85735e7b71623f2c;p=neomutt add missing mxapi functions --- diff --git a/imap/imap.c b/imap/imap.c index d77f93d3b..0b829c549 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -2836,6 +2836,7 @@ struct MxOps mx_imap_ops = { .msg_open_new = imap_msg_open_new, .msg_commit = imap_msg_commit, .msg_close = imap_msg_close, + .msg_padding_size = NULL, .tags_edit = imap_tags_edit, .tags_commit = imap_tags_commit, .path_probe = imap_path_probe, diff --git a/maildir/mh.c b/maildir/mh.c index f0a5fa973..e179a8628 100644 --- a/maildir/mh.c +++ b/maildir/mh.c @@ -3036,6 +3036,7 @@ struct MxOps mx_maildir_ops = { .msg_open_new = maildir_msg_open_new, .msg_commit = maildir_msg_commit, .msg_close = mh_msg_close, + .msg_padding_size = NULL, .tags_edit = NULL, .tags_commit = NULL, .path_probe = maildir_path_probe, @@ -3059,6 +3060,7 @@ struct MxOps mx_mh_ops = { .msg_open_new = mh_msg_open_new, .msg_commit = mh_msg_commit, .msg_close = mh_msg_close, + .msg_padding_size = NULL, .tags_edit = NULL, .tags_commit = NULL, .path_probe = mh_path_probe, diff --git a/mx.h b/mx.h index ae184d269..489e7e648 100644 --- a/mx.h +++ b/mx.h @@ -208,7 +208,7 @@ struct MxOps * @retval 0 Success * @retval -1 Failure */ - int (*path_canon) (char *buf, size_t buflen, const char *folder); + int (*path_canon) (char *buf, size_t buflen, const char *folder); /** * path_pretty - Abbreviate a mailbox path * @param buf Path to modify diff --git a/nntp/nntp.c b/nntp/nntp.c index b2922d003..1bcfb0c1f 100644 --- a/nntp/nntp.c +++ b/nntp/nntp.c @@ -2705,6 +2705,7 @@ struct MxOps mx_nntp_ops = { .msg_open_new = NULL, .msg_commit = NULL, .msg_close = nntp_msg_close, + .msg_padding_size = NULL, .tags_edit = NULL, .tags_commit = NULL, .path_probe = nntp_path_probe, diff --git a/notmuch/mutt_notmuch.c b/notmuch/mutt_notmuch.c index 76188647f..5700fcce8 100644 --- a/notmuch/mutt_notmuch.c +++ b/notmuch/mutt_notmuch.c @@ -2846,6 +2846,7 @@ struct MxOps mx_notmuch_ops = { .msg_open_new = NULL, .msg_commit = nm_msg_commit, .msg_close = nm_msg_close, + .msg_padding_size = NULL, .tags_edit = nm_tags_edit, .tags_commit = nm_tags_commit, .path_probe = nm_path_probe, diff --git a/pop/pop.c b/pop/pop.c index 2216df738..28cc564b6 100644 --- a/pop/pop.c +++ b/pop/pop.c @@ -1134,6 +1134,7 @@ struct MxOps mx_pop_ops = { .msg_open_new = NULL, .msg_commit = NULL, .msg_close = pop_msg_close, + .msg_padding_size = NULL, .tags_edit = NULL, .tags_commit = NULL, .path_probe = pop_path_probe,