summaryrefslogtreecommitdiff
path: root/token.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-07-02 03:19:58 +0000
committerAndrew Tridgell <tridge@samba.org>1996-07-02 03:19:58 +0000
commit9e31c4824cabb1bf173f87cbd0abe93f25ea9598 (patch)
tree41da9f321c5598db22b5f5eb8d2f69b6d58961ba /token.c
parentc6e7fcb42bc87660ece8d4dc9a1b10bd1fb7b0c5 (diff)
downloadrsync-9e31c4824cabb1bf173f87cbd0abe93f25ea9598.tar.gz
rsync-9e31c4824cabb1bf173f87cbd0abe93f25ea9598.tar.bz2
rsync-9e31c4824cabb1bf173f87cbd0abe93f25ea9598.zip
added resend logic
added checksum on all files
Diffstat (limited to 'token.c')
-rw-r--r--token.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/token.c b/token.c
index 3d6899ae..887e6254 100644
--- a/token.c
+++ b/token.c
@@ -73,7 +73,8 @@ static void simple_send_token(int f,int token,
* If token == -1 then we have reached EOF
* If n == 0 then don't send a buffer
*/
-void send_token(int f,int token,struct map_struct *buf,int offset,int n)
+void send_token(int f,int token,struct map_struct *buf,int offset,
+ int n,int toklen)
{
if (!do_compression) {
simple_send_token(f,token,buf,offset,n);