diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-21 14:03:35 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-21 14:03:35 +0000 |
commit | e46e69cf08fcaa4b991c42035c17ebdea3c06606 (patch) | |
tree | 8f2836d86d8cac82f32eeb4cc24fb39dcbba5cf8 | |
parent | 581ac6952f208d5e427c18c028bd83be84200c59 (diff) | |
download | fetchmail-e46e69cf08fcaa4b991c42035c17ebdea3c06606.tar.gz fetchmail-e46e69cf08fcaa4b991c42035c17ebdea3c06606.tar.bz2 fetchmail-e46e69cf08fcaa4b991c42035c17ebdea3c06606.zip |
Cleaner UIDL.
svn path=/trunk/; revision=362
-rw-r--r-- | pop3.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -158,16 +158,14 @@ int *countp, *newp; } else { - int num; - struct idlist *idp; - /* grab the mailbox's UID list */ - *newp = 0; - gen_send(socket, "UIDL"); - if ((ok = pop3_ok(socket, buf)) != 0) + if ((ok = gen_transact(socket, "UIDL")) != 0) PROTOCOL_ERROR else { + int num; + + *newp = 0; while (SockGets(socket, buf, sizeof(buf)) >= 0) { if (outlevel == O_VERBOSE) |