aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
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)