diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-11-09 23:53:34 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-11-09 23:53:34 +0000 |
commit | 0d9440d7259f4fa6ed8e457e72bb24b04e693b6d (patch) | |
tree | efd73f6c8135b3b1e0fb0a3838b2d37c0a5af98e | |
parent | d923b774d677d8c628685275e2a2e57290c515e6 (diff) | |
download | fetchmail-0d9440d7259f4fa6ed8e457e72bb24b04e693b6d.tar.gz fetchmail-0d9440d7259f4fa6ed8e457e72bb24b04e693b6d.tar.bz2 fetchmail-0d9440d7259f4fa6ed8e457e72bb24b04e693b6d.zip |
Change method->trail prototype to allow passing a tag to expect.
svn path=/trunk/; revision=4394
-rw-r--r-- | fetchmail.h | 2 | ||||
-rw-r--r-- | 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 */ @@ -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")); |