diff options
Diffstat (limited to 'notmuch-show.c')
-rw-r--r-- | notmuch-show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-show.c b/notmuch-show.c index 36bb0d3..cb5e47a 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); } } |