]> granicus.if.org Git - neomutt/commitdiff
user_in_addr
authorRichard Russon <rich@flatcap.org>
Mon, 10 Apr 2017 18:06:54 +0000 (19:06 +0100)
committerRichard Russon <rich@flatcap.org>
Wed, 12 Apr 2017 01:01:43 +0000 (02:01 +0100)
hdrline.c

index e2b392d449bbbf08fa11a7a97af28a48b917be69..b9bb4628e65a6c76ec52166d4f4bc29ad6607c7c 100644 (file)
--- a/hdrline.c
+++ b/hdrline.c
@@ -273,12 +273,12 @@ static void make_from_addr (ENVELOPE *hdr, char *buf, size_t len, int do_lists)
     *buf = 0;
 }
 
-static int user_in_addr (ADDRESS *a)
+static bool user_in_addr (ADDRESS *a)
 {
   for (; a; a = a->next)
     if (mutt_addr_is_user (a))
-      return 1;
-  return 0;
+      return true;
+  return false;
 }
 
 /* Return values: