diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-11-28 18:18:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-11-28 18:18:00 +0000 |
commit | 5f4ca3c2d6db469677d06db286b16b9f3b84123c (patch) | |
tree | 8cdf1de1d808e77052ebfedfb81c68c4a469b079 /pop3.c | |
parent | 09006c25d399ff2080c0e8660d0d95ff3cd25455 (diff) | |
download | fetchmail-5f4ca3c2d6db469677d06db286b16b9f3b84123c.tar.gz fetchmail-5f4ca3c2d6db469677d06db286b16b9f3b84123c.tar.bz2 fetchmail-5f4ca3c2d6db469677d06db286b16b9f3b84123c.zip |
Change name of string-saver functions.
svn path=/trunk/; revision=584
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -173,8 +173,8 @@ static int pop3_getrange(FILE *sockfp, struct query *ctl, int*countp, int*newp) break; else if (sscanf(buf, "%d %s", &num, id) == 2) { - save_uid(&ctl->newsaved, num, id); - if (!uid_in_list(&ctl->oldsaved, id)) + save_str(&ctl->newsaved, num, id); + if (!str_in_list(&ctl->oldsaved, id)) (*newp)++; } } @@ -220,8 +220,8 @@ static int pop3_is_old(FILE *sockfp, struct query *ctl, int num) if (!ctl->oldsaved) return (num <= last); else - return (uid_in_list(&ctl->oldsaved, - uid_find (&ctl->newsaved, num))); + return (str_in_list(&ctl->oldsaved, + str_find (&ctl->newsaved, num))); } static int pop3_fetch(FILE *sockfp, int number, int *lenp) |