For --inplace over protocol-version 29 or greater, tell the
authorWayne Davison <wayned@samba.org>
Mon, 17 Jan 2005 23:11:05 +0000 (23:11 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 17 Jan 2005 23:11:05 +0000 (23:11 +0000)
sender what kind of a basis file we've selected.

generator.c

index 1c08e5e..5d05158 100644 (file)
@@ -596,6 +596,8 @@ prepare_to_open:
 
 notify_others:
        write_int(f_out, i);
+       if (protocol_version >= 29 && inplace && !read_batch)
+               write_byte(f_out, fnamecmp_type);
        if (f_out_name >= 0)
                write_byte(f_out_name, fnamecmp_type);