Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe4d86e
)
add warning if corruption detected
author
Andrew Tridgell
<tridge@samba.org>
Fri, 12 Jul 1996 14:37:25 +0000
(14:37 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 12 Jul 1996 14:37:25 +0000
(14:37 +0000)
rsync.c
patch
|
blob
|
blame
|
history
diff --git
a/rsync.c
b/rsync.c
index
cda8e12
..
b687fdf
100644
(file)
--- a/
rsync.c
+++ b/
rsync.c
@@
-651,6
+651,8
@@
int recv_files(int f_in,struct file_list *flist,char *local_name,int f_gen)
if (!recv_ok) {
if (verbose > 1)
fprintf(FERROR,"redoing %s(%d)\n",fname,i);
+ if (csum_length == SUM_LENGTH)
+ fprintf(FERROR,"ERROR: file corruption in %s\n",fname);
write_int(f_gen,i);
}
}