aboutsummaryrefslogtreecommitdiffstats
path: root/exclude.c
diff options
context:
space:
mode:
authorDavid Dykstra <dwd@samba.org>1998-11-04 16:47:33 +0000
committerDavid Dykstra <dwd@samba.org>1998-11-04 16:47:33 +0000
commitec9df38086a5d450e206ff95d006164e4e34f51b (patch)
tree3ae8d3e8ae34114e511992c61b963d321e0159f1 /exclude.c
parent81791cfccb89cde245a335d5df223c8a668030b0 (diff)
downloadandroid_external_rsync-ec9df38086a5d450e206ff95d006164e4e34f51b.tar.gz
android_external_rsync-ec9df38086a5d450e206ff95d006164e4e34f51b.tar.bz2
android_external_rsync-ec9df38086a5d450e206ff95d006164e4e34f51b.zip
Fix confusion between RERR_NOSUPPORT and RERR_UNSUPPORTED for exit codes
that indicate a feature is not supported. Two places that are normally ifdefed out used RERR_UNSUPPORTED whereas one other place and errcode.h used RERR_NOSUPPORT. Changed them all to consistently use RERR_UNSUPPORTED. The two things that had the bad values were #ifndef SUPPORT_LINKS and #ifdef NO_INT64. The former is probably for non-Unix operating systems and the latter was at least on the default Unixware compiler.
Diffstat (limited to 'exclude.c')
-rw-r--r--exclude.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exclude.c b/exclude.c
index 2f2b3679..11d5eb08 100644
--- a/exclude.c
+++ b/exclude.c
@@ -264,7 +264,7 @@ void send_exclude_list(int f)
if (exclude_list[i]->include) {
if (remote_version < 19) {
rprintf(FERROR,"remote rsync does not support include syntax - aborting\n");
- exit_cleanup(RERR_NOSUPPORT);
+ exit_cleanup(RERR_UNSUPPORTED);
}
write_int(f,l+2);
write_buf(f,"+ ",2);