diff options
author | David Dykstra <dwd@samba.org> | 1998-11-04 16:47:33 +0000 |
---|---|---|
committer | David Dykstra <dwd@samba.org> | 1998-11-04 16:47:33 +0000 |
commit | ec9df38086a5d450e206ff95d006164e4e34f51b (patch) | |
tree | 3ae8d3e8ae34114e511992c61b963d321e0159f1 /exclude.c | |
parent | 81791cfccb89cde245a335d5df223c8a668030b0 (diff) | |
download | rsync-ec9df38086a5d450e206ff95d006164e4e34f51b.tar.gz rsync-ec9df38086a5d450e206ff95d006164e4e34f51b.tar.bz2 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |