From e46e69cf08fcaa4b991c42035c17ebdea3c06606 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 21 Oct 1996 14:03:35 +0000 Subject: Cleaner UIDL. svn path=/trunk/; revision=362 --- pop3.c | 10 ++++------ 1 file 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) -- cgit v1.2.3