]> granicus.if.org Git - neomutt/commitdiff
mh_valid_message
authorRichard Russon <rich@flatcap.org>
Mon, 10 Apr 2017 20:38:47 +0000 (21:38 +0100)
committerRichard Russon <rich@flatcap.org>
Tue, 11 Apr 2017 23:29:59 +0000 (00:29 +0100)
mh.c

diff --git a/mh.c b/mh.c
index 4857ca02c55c32bbd7bc23f78afbfccda588961b..c38bc188bafddca2c32a02773869ee7c0ded21c0 100644 (file)
--- a/mh.c
+++ b/mh.c
@@ -257,14 +257,14 @@ static int mh_already_notified(BUFFY *b, int msgno)
  * digits.  Deleted message get moved to a filename with a comma before
  * it.
  */
-static int mh_valid_message (const char *s)
+static bool mh_valid_message (const char *s)
 {
   for (; *s; s++)
   {
     if (!isdigit ((unsigned char) *s))
-      return 0;
+      return false;
   }
-  return 1;
+  return true;
 }
 
 /* Checks new mail for a mh mailbox.