diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-13 21:24:27 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-13 21:24:27 +0000 |
commit | e644052b38ac03a5683f6ba48554dfb4cfe78c9c (patch) | |
tree | 69c0ae12e6b4edcc6766999455c0c821d5c2d446 /pop3.c | |
parent | 1a4bd3b6e4bd25b98a763decd9000b118483b2a8 (diff) | |
download | fetchmail-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |