aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-01-13 21:24:27 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-01-13 21:24:27 +0000
commite644052b38ac03a5683f6ba48554dfb4cfe78c9c (patch)
tree69c0ae12e6b4edcc6766999455c0c821d5c2d446 /pop3.c
parent1a4bd3b6e4bd25b98a763decd9000b118483b2a8 (diff)
downloadfetchmail-e644052b38ac03a5683f6ba48554dfb4cfe78c9c.tar.gz
fetchmail-e644052b38ac03a5683f6ba48554dfb4cfe78c9c.tar.bz2
fetchmail-e644052b38ac03a5683f6ba48554dfb4cfe78c9c.zip
Gather all server data into a restorable structure.
svn path=/trunk/; revision=754
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pop3.c b/pop3.c
index 3f2dae3c..95602345 100644
--- a/pop3.c
+++ b/pop3.c
@@ -68,7 +68,7 @@ int pop3_getauth(FILE *sockfp, struct query *ctl, char *greeting)
/* apply for connection authorization */
{
/* build MD5 digest from greeting timestamp + password */
- if (ctl->protocol == P_APOP)
+ if (ctl->server.protocol == P_APOP)
{
char *start,*end;
char *msg;
@@ -100,7 +100,7 @@ int pop3_getauth(FILE *sockfp, struct query *ctl, char *greeting)
free(msg);
}
- switch (ctl->protocol) {
+ switch (ctl->server.protocol) {
case P_POP3:
if ((gen_transact(sockfp,"USER %s", ctl->remotename)) != 0)
PROTOCOL_ERROR