From: Kevin McCarthy Date: Wed, 25 May 2016 22:58:04 +0000 (-0700) Subject: Add a TODO to mx_open_new_message() to use mx_ops in the future. X-Git-Tag: mutt-1-7-rel~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=acaa4e0e2b5a9959f96aad96cc198feabc068e7f;p=mutt Add a TODO to mx_open_new_message() to use mx_ops in the future. We can't use it until mx_open_mailbox_append() is converted to set mx_ops. --- diff --git a/mx.c b/mx.c index 5ac8804f..4c7e8d08 100644 --- a/mx.c +++ b/mx.c @@ -1204,6 +1204,9 @@ int mx_sync_mailbox (CONTEXT *ctx, int *index_hint) */ MESSAGE *mx_open_new_message (CONTEXT *dest, HEADER *hdr, int flags) { + /* TODO: Convert this to use dest->mx_ops after + * mx_open_mailbox_append() is changed to set mx_ops. + */ struct mx_ops *ops = mx_get_ops (dest->magic); ADDRESS *p = NULL; MESSAGE *msg;