From: Richard Russon Date: Mon, 10 Apr 2017 20:38:47 +0000 (+0100) Subject: mh_valid_message X-Git-Tag: neomutt-20170414~8^2~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c2a83a06ad9e6eb5a15234a30979da263338c4c;p=neomutt mh_valid_message --- diff --git a/mh.c b/mh.c index 4857ca02c..c38bc188b 100644 --- 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.