]> diplodocus.org Git - nmh/commitdiff
mts/smtp/smtp.c: Replace int with bool.
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 30 Oct 2017 22:11:15 +0000 (22:11 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 30 Oct 2017 22:11:15 +0000 (22:11 +0000)
mts/smtp/smtp.c

index 40a3cf11901a449f521b5c72d647294982600239..f22e738b55a6e1718d22a02f73357d52f341c2f2 100644 (file)
@@ -785,7 +785,7 @@ smhear (void)
     char **ehlo = EHLOkeys, *buffer;
 
     if (doingEHLO) {
     char **ehlo = EHLOkeys, *buffer;
 
     if (doingEHLO) {
-       static int at_least_once = 0;
+       static bool at_least_once;
 
        if (at_least_once) {
            char *ep;
 
        if (at_least_once) {
            char *ep;
@@ -795,7 +795,7 @@ smhear (void)
                free (ep);
            }
        } else {
                free (ep);
            }
        } else {
-           at_least_once = 1;
+           at_least_once = true;
        }
 
        ehlo = EHLOkeys;
        }
 
        ehlo = EHLOkeys;