GMimeParser *parser = NULL;
GMimeMessage *mime_message = NULL;
notmuch_status_t ret = NOTMUCH_STATUS_SUCCESS;
- static int initialized = 0;
FILE *file = NULL;
int part_count = 0;
- if (! initialized) {
- g_mime_init (0);
- initialized = 1;
- }
-
file = fopen (filename, "r");
if (! file) {
fprintf (stderr, "Error opening %s: %s\n", filename, strerror (errno));