From 3dd9a93bd23e0ad36e52ffd79efe2dcbdaf85272 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 15 May 1997 16:09:24 +0000 Subject: -Wall cleanup. svn path=/trunk/; revision=1011 --- etrn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etrn.c') diff --git a/etrn.c b/etrn.c index b8e8fffa..c931d2cc 100644 --- a/etrn.c +++ b/etrn.c @@ -6,6 +6,7 @@ #include #include +#include #include "fetchmail.h" #include "smtp.h" #include "socket.h" @@ -14,7 +15,6 @@ static int etrn_ok (int sock, char *argbuf) /* parse command response */ { int ok; - char buf [POPBUFSIZE+1]; ok = SMTP_ok(sock); if (ok == SM_UNRECOVERABLE) @@ -46,7 +46,7 @@ static int etrn_getrange(int sock, struct query *ctl, int*countp, int*newp) /* ship the actual poll and get the response */ gen_send(sock, "ETRN %s", ctl->smtphost); - if (ok = gen_recv(sock, buf, sizeof(buf))) + if ((ok = gen_recv(sock, buf, sizeof(buf)))) return(ok); /* this switch includes all the response codes described in RFC1985 */ -- cgit v1.2.3