X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-show.c;h=cb5e47aa9ed14e9e167010c6e3ec9576ff04f8e8;hp=36bb0d3085781a0ad0d4d7c529deb89489442ded;hb=2b8131f079d5aa3dc0ece4dcbc6635eb4cf24209;hpb=4e5d2f22db290a830c0267f34b519c6138af00ed diff --git a/notmuch-show.c b/notmuch-show.c index 36bb0d30..cb5e47aa 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -160,7 +160,7 @@ format_headers_text (const void *ctx, notmuch_message_t *message) for (i = 0; i < ARRAY_SIZE (headers); i++) { name = headers[i]; value = notmuch_message_get_header (message, name); - if (value) + if (value && strlen (value)) printf ("%s: %s\n", name, value); } }