]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Fix trace message which was missing a parameter.
authorMartin Pool <mbp@samba.org>
Wed, 15 Aug 2001 06:34:28 +0000 (06:34 +0000)
committerMartin Pool <mbp@samba.org>
Wed, 15 Aug 2001 06:34:28 +0000 (06:34 +0000)
Drop dead variable introduced in rsync+ patch.

sender.c

index 39bb2797f85e55ad5fe3822f77b8896d28008f06..37927b419084f9d1ca5312ddc611c0e56e2a0d35 100644 (file)
--- a/sender.c
+++ b/sender.c
@@ -94,7 +94,6 @@ void send_files(struct file_list *flist,int f_out,int f_in)
        extern struct stats stats;              
        struct stats initial_stats;
        extern int write_batch;   /* dw */
-       int negative_one;  /* dw */
        extern int read_batch;    /* dw */
        int checksums_match;   /* dw */
        int buff_len;  /* dw */
@@ -255,8 +254,9 @@ void send_files(struct file_list *flist,int f_out,int f_in)
 
                        }  /* j=i */
                    } else {  /* not checksum match */
-                      rprintf(FINFO,"readbatch & checksums don't match\n");
-                      rprintf(FINFO,"filename=%s is being skipped\n");
+                      rprintf (FINFO,"readbatch & checksums don't match\n");
+                      rprintf (FINFO,"filename=%s is being skipped\n",
+                              fname);
                       continue;
                    }
                 } else  {