X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/06812cb5cb0229200b5dc690a6365cf0a368a5f2..b54c3cca7632b31faf33e57f35631e9589551e1a:/mts/smtp/smtp.c diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index 40a3cf11..8270b343 100644 --- a/mts/smtp/smtp.c +++ b/mts/smtp/smtp.c @@ -5,12 +5,15 @@ * complete copyright information. */ -#include +#include "h/mh.h" +#include "sbr/r1bindex.h" +#include "sbr/client.h" +#include "sbr/error.h" #include "smtp.h" -#include -#include -#include -#include +#include "h/mts.h" +#include "h/signals.h" +#include "h/utils.h" +#include "h/netsec.h" #include #include "sbr/base64.h" @@ -785,7 +788,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 +798,7 @@ smhear (void) free (ep); } } else { - at_least_once = 1; + at_least_once = true; } ehlo = EHLOkeys;