aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-10 22:11:36 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-10 22:11:36 +0000
commit3b86b66668ca47b1f439fb5f49e3f8078caf4a33 (patch)
tree1a79559624da526ea2cb94cb16623c6340854403 /pop3.c
parent9eaa83099fdcaa492e2ec8df46f4eb81c9dd813d (diff)
downloadfetchmail-3b86b66668ca47b1f439fb5f49e3f8078caf4a33.tar.gz
fetchmail-3b86b66668ca47b1f439fb5f49e3f8078caf4a33.tar.bz2
fetchmail-3b86b66668ca47b1f439fb5f49e3f8078caf4a33.zip
UIDs, take 3.
svn path=/trunk/; revision=290
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c6
1 files changed, 3 insertions, 3 deletions
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);
}