X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/e44f9a12c4c6d560f00d6e3521dca27e1d1e422a..1d3754aede7d43ec072dd5d4e6cec57094bcd85c:/rsync.c diff --git a/rsync.c b/rsync.c index b61128b1..bb19d4fc 100644 --- a/rsync.c +++ b/rsync.c @@ -962,7 +962,6 @@ void send_files(struct file_list *flist,int f_out,int f_in) int i; struct file_struct *file; int phase = 0; - int offset=0; if (verbose > 2) rprintf(FINFO,"send_files starting\n"); @@ -970,6 +969,8 @@ void send_files(struct file_list *flist,int f_out,int f_in) setup_readbuffer(f_in); while (1) { + int offset=0; + i = read_int(f_in); if (i == -1) { if (phase==0 && remote_version >= 13) {