X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fmessage-file.c;h=8a3f8ee0fd2b66e04e0dd3e68b4abea37ae591f7;hp=75caba6d8b055e5c3b57b2d72d1926381ff11fc8;hb=091d18c54c046a08bda9d88982601589a1deea37;hpb=5d614048b479fe998177668301da4b5c1fd9f56a diff --git a/lib/message-file.c b/lib/message-file.c index 75caba6d..8a3f8ee0 100644 --- a/lib/message-file.c +++ b/lib/message-file.c @@ -238,7 +238,7 @@ notmuch_message_file_get_header (notmuch_message_file_t *message, return decoded_value; if (message->parsing_finished) - return NULL; + return ""; #define NEXT_HEADER_LINE(closure) \ while (1) { \ @@ -348,5 +348,5 @@ notmuch_message_file_get_header (notmuch_message_file_t *message, header_desired); } - return NULL; + return ""; }