X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/7b4f53959307e3434809f5dbc0ef5e0dbbb32005..da831514de01e2407cef37c118ffff0526a486d0:/mts/smtp/smtp.c diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index 63aef407..1ab027f3 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) {