aboutsummaryrefslogtreecommitdiffstats
path: root/receiver.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-23 07:36:56 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-23 07:36:56 +0000
commit554e0a8dd0079cd8d28dbb30ffd90010f2f97933 (patch)
tree6d739945244b9889fde61556e54f77dd4ab53c8e /receiver.c
parentb0f3f5784c8635fe08d5d8e397f476a0c9ccba66 (diff)
downloadandroid_external_rsync-554e0a8dd0079cd8d28dbb30ffd90010f2f97933.tar.gz
android_external_rsync-554e0a8dd0079cd8d28dbb30ffd90010f2f97933.tar.bz2
android_external_rsync-554e0a8dd0079cd8d28dbb30ffd90010f2f97933.zip
added some really ugly code to allow errors to propogate to
clients when writing to a rsync server it works like this: - we have an extra pipe from the receiver to the generator - the server always runs with multiplexing on - errors from the generator go down the multiplexed connection - errors from the receiver go over the pipe, and from there to the multiplexed conn it required some incredibly ugly code. damn.
Diffstat (limited to 'receiver.c')
-rw-r--r--receiver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/receiver.c b/receiver.c
index 890fadd1..3cd7f9e0 100644
--- a/receiver.c
+++ b/receiver.c
@@ -468,7 +468,7 @@ int recv_files(int f_in,struct file_list *flist,char *local_name,int f_gen)
finish_transfer(fname, fnametmp, file);
cleanup_disable();
-
+
if (!recv_ok) {
if (csum_length == SUM_LENGTH) {
rprintf(FERROR,"ERROR: file corruption in %s. File changed during transfer?\n",