The daemon no longer logs a recv entry for a file that is not
authorWayne Davison <wayned@samba.org>
Mon, 18 Feb 2008 07:44:52 +0000 (23:44 -0800)
committerWayne Davison <wayned@samba.org>
Mon, 18 Feb 2008 07:44:52 +0000 (23:44 -0800)
actually being updated due to the --only-write-batch option.

receiver.c

index 225bab6..5bbecf0 100644 (file)
@@ -502,7 +502,7 @@ int recv_files(int f_in, char *local_name)
                        continue;
                }
                if (write_batch < 0) {
-                       log_item(FINFO, file, &stats, iflags, NULL);
+                       log_item(FCLIENT, file, &stats, iflags, NULL);
                        if (!am_server)
                                discard_receive_data(f_in, F_LENGTH(file));
                        continue;