aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fetchmail.h2
-rw-r--r--pop2.c2
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"));