From 986abcee996d486db0b9c753974f3cb0eac2e9b2 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Mon, 30 Oct 2017 22:11:15 +0000 Subject: [PATCH] mts/smtp/smtp.c: Replace int with bool. --- mts/smtp/smtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index 40a3cf11..f22e738b 100644 --- a/mts/smtp/smtp.c +++ b/mts/smtp/smtp.c @@ -785,7 +785,7 @@ smhear (void) char **ehlo = EHLOkeys, *buffer; if (doingEHLO) { - static int at_least_once = 0; + static bool at_least_once; if (at_least_once) { char *ep; @@ -795,7 +795,7 @@ smhear (void) free (ep); } } else { - at_least_once = 1; + at_least_once = true; } ehlo = EHLOkeys; -- 2.56.0