X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=mts%2Fsmtp%2Fsmtp.c;h=1ab027f31f731da2d0178ea9fcc574786103c186;hb=7995fb587acf227b08102c75e15c20418d06ad7d;hp=bf0804e171eef0911c12ac2ad8cd84a9b28f3b7b;hpb=f292123e4a8ff7bf829d2954ec838f677043ebd4;p=mmh diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index bf0804e..1ab027f 100644 --- a/mts/smtp/smtp.c +++ b/mts/smtp/smtp.c @@ -18,8 +18,8 @@ #endif #ifdef CYRUS_SASL -#include -#include +#include +#include #include #include #include @@ -502,15 +502,6 @@ rclient (char *server, char *protocol, char *service) return NOTOK; } -#ifdef CYRUS_SASL -#include -#include -#include -#include -#include -#include -#endif /* CYRUS_SASL */ - int sm_winit (int mode, char *from) { @@ -968,7 +959,7 @@ bad_data: free (cp); { -#ifdef HAVE_ST_BLKSIZE +#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE struct stat st; if (fstat (fileno (sm_wfp), &st) == NOTOK || (cc = st.st_blksize) < BUFSIZ) @@ -1579,7 +1570,8 @@ static int smhear (void) { int i, code, cont, bc, rc, more; - char *bp, *rp; + unsigned char *bp; + char *rp; char **ehlo, buffer[BUFSIZ]; if (doingEHLO) {