X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-reply.c;h=4a4a782b1636a269aa505f8b560f06eaa2cd337c;hp=42060665743e24534f0bb8db52e8b8110697f81b;hb=6b135cae1e6e29a5ce8d8acb0cde2b50628ab8f1;hpb=f9f897ae27b4443bfa0f2d55600f5120fc1153ac diff --git a/notmuch-reply.c b/notmuch-reply.c index 42060665..4a4a782b 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -24,7 +24,7 @@ #include "gmime-filter-reply.h" static void -reply_part(GMimeObject *part, int *part_count) +reply_part (GMimeObject *part, int *part_count) { GMimeContentDisposition *disposition; GMimeContentType *content_type; @@ -236,7 +236,7 @@ notmuch_reply_command (void *ctx, int argc, char *argv[]) recipients = notmuch_message_get_header (message, reply_to_map[i].header); - if (recipients == NULL && reply_to_map[i].fallback) + if ((recipients == NULL || recipients[0] == '\0') && reply_to_map[i].fallback) recipients = notmuch_message_get_header (message, reply_to_map[i].fallback);