diff options
author | Wayne Davison <wayned@samba.org> | 2009-11-16 12:35:17 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2009-11-16 12:35:17 -0800 |
commit | e4c598c830234fe3def0bae6ba45ca54071a9ee5 (patch) | |
tree | b20aae8c324c20a41a3ff6e218a1b6aa8efe61ed /xattrs.c | |
parent | ae598f3847bd83b81effb6cc38719e790ed4c1cf (diff) | |
download | android_external_rsync-e4c598c830234fe3def0bae6ba45ca54071a9ee5.tar.gz android_external_rsync-e4c598c830234fe3def0bae6ba45ca54071a9ee5.tar.bz2 android_external_rsync-e4c598c830234fe3def0bae6ba45ca54071a9ee5.zip |
Make some RERR_* choices better, and another noop_io_until_death() tweak.
Diffstat (limited to 'xattrs.c')
-rw-r--r-- | xattrs.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -589,7 +589,7 @@ int recv_xattr_request(struct file_struct *file, int f_in) if (F_XATTR(file) < 0) { rprintf(FERROR, "recv_xattr_request: internal data error!\n"); - exit_cleanup(RERR_STREAMIO); + exit_cleanup(RERR_PROTOCOL); } lst += F_XATTR(file); @@ -605,12 +605,12 @@ int recv_xattr_request(struct file_struct *file, int f_in) if (!cnt || rxa->num != num) { rprintf(FERROR, "[%s] could not find xattr #%d for %s\n", who_am_i(), num, f_name(file, NULL)); - exit_cleanup(RERR_STREAMIO); + exit_cleanup(RERR_PROTOCOL); } if (!XATTR_ABBREV(*rxa) || rxa->datum[0] != XSTATE_ABBREV) { rprintf(FERROR, "[%s] internal abbrev error on %s (%s, len=%ld)!\n", who_am_i(), f_name(file, NULL), rxa->name, (long)rxa->datum_len); - exit_cleanup(RERR_STREAMIO); + exit_cleanup(RERR_PROTOCOL); } if (am_sender) { |