diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2004-06-19 01:51:38 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2004-06-19 01:51:38 +0000 |
commit | 8da5725d04fae61458a4944de12207256e8dbc2a (patch) | |
tree | 74e183d66ba39d46dd3bfd1ebab69552e077a027 /pop2.c | |
parent | 67d5e1e4ca79d86c8beedc8709efb27f83295443 (diff) | |
download | fetchmail-8da5725d04fae61458a4944de12207256e8dbc2a.tar.gz fetchmail-8da5725d04fae61458a4944de12207256e8dbc2a.tar.bz2 fetchmail-8da5725d04fae61458a4944de12207256e8dbc2a.zip |
Fix various warnings.
svn path=/trunk/; revision=3904
Diffstat (limited to 'pop2.c')
-rw-r--r-- | pop2.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -12,6 +12,9 @@ #if defined(STDC_HEADERS) #include <stdlib.h> #endif +#ifdef HAVE_STRING_H +#include <string.h> +#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 |