X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=mime-node.c;fp=mime-node.c;h=cd3db67dfedde9d370f8cf7d78bf6a2bcef4698c;hp=3fdf4808494f75af9f62fe0caa138faad4484dc4;hb=e9b870b6923afe767a7c9938be24f5390102031a;hpb=bbe3015b3ea503b2834811f6cdd7276f9742faa1 diff --git a/mime-node.c b/mime-node.c index 3fdf4808..cd3db67d 100644 --- a/mime-node.c +++ b/mime-node.c @@ -121,7 +121,7 @@ mime_node_open (const void *ctx, notmuch_message_t *message, goto DONE; } - mctx->mime_message = g_mime_parser_construct_message (mctx->parser); + mctx->mime_message = g_mime_parser_construct_message (mctx->parser, NULL); if (!mctx->mime_message) { fprintf (stderr, "Failed to parse %s\n", filename); status = NOTMUCH_STATUS_FILE_ERROR;