X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-reply.c;h=dab69e664b6ee2f949b48106c15c8ea0dfd09e36;hp=514bbc642654b8bcf3f352e6e9514ffe4ee7fb4b;hb=565d87c2aab7d3c389a958c068323683316e5e0f;hpb=52f751fb7442d7fd79e2a7dae5858f23e28e4438 diff --git a/notmuch-reply.c b/notmuch-reply.c index 514bbc64..dab69e66 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -406,6 +406,7 @@ guess_from_received_header (notmuch_config_t *config, notmuch_message_t *message /* Now extract the last two components of the MTA host name * as domain and tld. */ + domain = tld = NULL; while ((ptr = strsep (&token, delim)) != NULL) { if (*ptr == '\0') continue;