From 0d9440d7259f4fa6ed8e457e72bb24b04e693b6d Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 9 Nov 2005 23:53:34 +0000 Subject: Change method->trail prototype to allow passing a tag to expect. svn path=/trunk/; revision=4394 --- fetchmail.h | 2 +- pop2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fetchmail.h b/fetchmail.h index 257d84cd..3d37ef51 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -215,7 +215,7 @@ struct method /* describe methods for protocol state machine */ /* fetch FROM headera given message */ int (*fetch_body)(int, struct query *, int, int *); /* fetch a given message */ - int (*trail)(int, struct query *, int); + int (*trail)(int, struct query *, int, const char *); /* eat trailer of a message */ int (*delete)(int, struct query *, int); /* delete method */ diff --git a/pop2.c b/pop2.c index 18d4cccd..126a62a1 100644 --- a/pop2.c +++ b/pop2.c @@ -117,7 +117,7 @@ static int pop2_fetch(int sock, struct query *ctl, int number, int *lenp) return(ok); } -static int pop2_trail(int sock, struct query *ctl, int number) +static int pop2_trail(int sock, struct query *ctl, int number, const char *tag) /* send acknowledgement for message data */ { return(gen_transact(sock, ctl->keep ? "ACKS" : "ACKD")); -- cgit v1.2.3