From d08089348fa7d03c121736994f46eb6a252f2877 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Tue, 11 Apr 2017 13:12:14 +0100 Subject: [PATCH] pgpring_string_matches_hint --- pgppubring.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pgppubring.c b/pgppubring.c index ad04bb8bf..7dbae84ce 100644 --- a/pgppubring.c +++ b/pgppubring.c @@ -187,20 +187,20 @@ static void pgpring_dump_keyblock (pgp_key_t p) } } -static int pgpring_string_matches_hint (const char *s, const char *hints[], int nhints) +static bool pgpring_string_matches_hint (const char *s, const char *hints[], int nhints) { int i; if (!hints || !nhints) - return 1; + return true; for (i = 0; i < nhints; i++) { if (mutt_stristr (s, hints[i]) != NULL) - return 1; + return true; } - return 0; + return false; } /* The actual key ring parser */ -- 2.40.0