Don't force the whole-file option when using read-batch.
authorWayne Davison <wayned@samba.org>
Wed, 5 May 2004 16:23:49 +0000 (16:23 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 5 May 2004 16:23:49 +0000 (16:23 +0000)
generator.c

index b233e0b066ce885c6ae45f3b851e2c4ab6e86e29..f046efb749b7f4b2d1cf897722d251ab34d8c96e 100644 (file)
@@ -213,7 +213,7 @@ static BOOL disable_deltas_p(void)
 {
        if (whole_file > 0)
                return True;
-       if (whole_file == 0 || write_batch)
+       if (whole_file == 0 || write_batch || read_batch)
                return False;
        return local_server;
 }