diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-03-13 09:59:32 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-03-13 09:59:32 +0000 |
commit | 5a2c422ccff9c0a0f3777d31c4af38b6c0256fdc (patch) | |
tree | c52663738a5d4dfc5c5acc2f240d71a90f384557 /pop3.c | |
parent | fde28f60a7cc6f1cac487b0365e2a2be1fb59f49 (diff) | |
download | fetchmail-5a2c422ccff9c0a0f3777d31c4af38b6c0256fdc.tar.gz fetchmail-5a2c422ccff9c0a0f3777d31c4af38b6c0256fdc.tar.bz2 fetchmail-5a2c422ccff9c0a0f3777d31c4af38b6c0256fdc.zip |
Added -U option.
svn path=/trunk/; revision=931
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -153,8 +153,11 @@ static int pop3_getrange(FILE *sockfp, struct query *ctl, int*countp, int*newp) { char id [IDLEN+1]; - gen_send(sockfp,"LAST"); - ok = pop3_ok(sockfp, buf); + if (!ctl->server.uidl) { + gen_send(sockfp,"LAST"); + ok = pop3_ok(sockfp, buf); + } else + ok = 1; if (ok == 0) { if (sscanf(buf, "%d", &last) == 0) |