diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-10 22:11:36 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-10 22:11:36 +0000 |
commit | 3b86b66668ca47b1f439fb5f49e3f8078caf4a33 (patch) | |
tree | 1a79559624da526ea2cb94cb16623c6340854403 /pop3.c | |
parent | 9eaa83099fdcaa492e2ec8df46f4eb81c9dd813d (diff) | |
download | fetchmail-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } |