]> diplodocus.org Git - nmh/blobdiff - mts/smtp/smtp.c
mhbuild.c, mhbuildsbr.c: Replace three global ints with bools.
[nmh] / mts / smtp / smtp.c
index 40a3cf1..f22e738 100644 (file)
@@ -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;