From: Ralph Corderoy Date: Mon, 30 Oct 2017 22:11:15 +0000 (+0000) Subject: mts/smtp/smtp.c: Replace int with bool. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/986abcee996d486db0b9c753974f3cb0eac2e9b2?ds=inline;hp=dbdbd49d59ae5c14e66b1c148a63b8abc9d076ab mts/smtp/smtp.c: Replace int with bool. --- 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;