From 3b86b66668ca47b1f439fb5f49e3f8078caf4a33 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 10 Oct 1996 22:11:36 +0000 Subject: UIDs, take 3. svn path=/trunk/; revision=290 --- pop3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pop3.c') diff --git a/pop3.c b/pop3.c index 592a5c7c..c17127b9 100644 --- a/pop3.c +++ b/pop3.c @@ -168,7 +168,7 @@ int *countp; break; } if (sscanf(buf, "%d %s\n", &num, id) == 2) - save_uid(&queryctl->unseen, num, id); + save_uid(&queryctl->newsaved, num, id); } } } @@ -182,7 +182,7 @@ int socket; struct hostrec *queryctl; int num; { - if (!queryctl->saved) + if (!queryctl->oldsaved) return (num <= last); else { @@ -197,7 +197,7 @@ int num; char id[IDLEN+1]; if (sscanf(buf, "%*d %s", id) == 2) - return(uid_in_list(&queryctl->saved, id)); + return(uid_in_list(&queryctl->oldsaved, id)); else return(0); } -- cgit v1.2.3