From 0c55b4a0ef33d4e7294a221b0ee79d87dc7acab5 Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Sun, 19 May 2019 09:29:11 +0000 Subject: [PATCH] Boolify uses of Address' group --- address/address.c | 2 +- sendlib.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/address/address.c b/address/address.c index c6bf242d7..8eba231b6 100644 --- a/address/address.c +++ b/address/address.c @@ -514,7 +514,7 @@ int mutt_addrlist_parse(struct AddressList *al, const char *s) struct Address *a = mutt_addr_new(); terminate_buffer(phrase, phraselen); a->mailbox = mutt_str_strdup(phrase); - a->group = 1; + a->group = true; mutt_addrlist_append(al, a); phraselen = 0; commentlen = 0; diff --git a/sendlib.c b/sendlib.c index ba7e676cf..338ae877b 100644 --- a/sendlib.c +++ b/sendlib.c @@ -2924,7 +2924,7 @@ void mutt_prepare_envelope(struct Envelope *env, bool final) * recipients if there is no To: or Cc: field, so attempt to suppress * it by using an empty To: field. */ struct Address *to = mutt_addr_new(); - to->group = 1; + to->group = true; mutt_addrlist_append(&env->to, to); mutt_addrlist_append(&env->to, mutt_addr_new()); -- 2.40.0