Sending --no-whole-file is no good because it will not work with old
[rsync/rsync.git] / generator.c
index 80f6f13..bdd27bc 100644 (file)
@@ -403,6 +403,8 @@ void recv_generator(char *fname,struct file_list *flist,int i,int f_out)
                return;
        }
 
+       assert(whole_file == 0 || whole_file == 1);
+       /* We should have decided by now. */
        if (whole_file) {
                write_int(f_out,i);
                send_sums(NULL,f_out);