From 8da5725d04fae61458a4944de12207256e8dbc2a Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 19 Jun 2004 01:51:38 +0000 Subject: Fix various warnings. svn path=/trunk/; revision=3904 --- pop2.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pop2.c') diff --git a/pop2.c b/pop2.c index b6af74bc..88ad4244 100644 --- a/pop2.c +++ b/pop2.c @@ -12,6 +12,9 @@ #if defined(STDC_HEADERS) #include #endif +#ifdef HAVE_STRING_H +#include +#endif #include "fetchmail.h" #include "socket.h" @@ -61,6 +64,7 @@ static int pop2_getauth(int sock, struct query *ctl, char *buf) "HELO %s %s", ctl->remotename, ctl->password); shroud[0] = '\0'; + return status; } static int pop2_getrange(int sock, struct query *ctl, const char *folder, @@ -125,7 +129,7 @@ static int pop2_logout(int sock, struct query *ctl) return(gen_transact(sock, "QUIT")); } -const static struct method pop2 = +static const struct method pop2 = { "POP2", /* Post Office Protocol v2 */ #if INET6_ENABLE -- cgit v1.2.3