X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=mts%2Fsmtp%2Fsmtp.c;h=1ab027f31f731da2d0178ea9fcc574786103c186;hb=56a805299de35d8924969138aef4d0f1580daa6d;hp=63aef407bbf7f0fc96cd6c70a317cf6cb1dd2762;hpb=7b4f53959307e3434809f5dbc0ef5e0dbbb32005;p=mmh diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index 63aef40..1ab027f 100644 --- a/mts/smtp/smtp.c +++ b/mts/smtp/smtp.c @@ -959,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) @@ -1570,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) {