aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-28 18:18:00 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-28 18:18:00 +0000
commit5f4ca3c2d6db469677d06db286b16b9f3b84123c (patch)
tree8cdf1de1d808e77052ebfedfb81c68c4a469b079 /pop3.c
parent09006c25d399ff2080c0e8660d0d95ff3cd25455 (diff)
downloadfetchmail-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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pop3.c b/pop3.c
index f2e46236..8f5a1a16 100644
--- a/pop3.c
+++ b/pop3.c
@@ -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)