aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-21 14:03:35 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-21 14:03:35 +0000
commite46e69cf08fcaa4b991c42035c17ebdea3c06606 (patch)
tree8f2836d86d8cac82f32eeb4cc24fb39dcbba5cf8
parent581ac6952f208d5e427c18c028bd83be84200c59 (diff)
downloadfetchmail-e46e69cf08fcaa4b991c42035c17ebdea3c06606.tar.gz
fetchmail-e46e69cf08fcaa4b991c42035c17ebdea3c06606.tar.bz2
fetchmail-e46e69cf08fcaa4b991c42035c17ebdea3c06606.zip
Cleaner UIDL.
svn path=/trunk/; revision=362
-rw-r--r--pop3.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/pop3.c b/pop3.c
index 491bf912..c3b2da60 100644
--- a/pop3.c
+++ b/pop3.c
@@ -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)