wrapper = g_mime_part_get_content_object (GMIME_PART (part));
if (wrapper)
g_mime_data_wrapper_write_to_stream (wrapper, stream);
+
+ g_object_unref (stream);
}
else
{
}
printf ("\fpart}\n");
-
- g_object_unref (stream);
}
static notmuch_status_t
{
message = notmuch_messages_get (messages);
- printf ("\fmessage{ ID: %s\n",
- notmuch_message_get_message_id (message));
+ printf ("\fmessage{ ID: %s Filename: %s\n",
+ notmuch_message_get_message_id (message),
+ notmuch_message_get_filename (message));
printf ("\fheader{\n");