+
+ if (remote_version >= 13) {
+ /* go to the full checksum if anything has failed so far */
+ csum_length = SUM_LENGTH;
+
+ for (i=read_int(f_recv); i != -1; i=read_int(f_recv)) {
+ struct file_struct *file = &flist->files[i];
+ recv_generator(local_name?local_name:file->name,
+ flist,i,f);
+ }
+
+ write_int(f,-1);
+ write_flush(f);
+ }
+
+