From 3c2a83a06ad9e6eb5a15234a30979da263338c4c Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Mon, 10 Apr 2017 21:38:47 +0100 Subject: [PATCH] mh_valid_message --- mh.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. -- 2.40.0