aboutsummaryrefslogtreecommitdiffstats
path: root/compat.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-05-07 14:50:22 +0000
committerAndrew Tridgell <tridge@samba.org>1998-05-07 14:50:22 +0000
commit9486289ce452ab82ca8b3f16fae8c2ef5247a923 (patch)
tree30754dba06f938a6d3f0888e547520a8cd5e7cb2 /compat.c
parent5d6bcd4472d7a88adc9be81987f02b58332e432c (diff)
downloadandroid_external_rsync-9486289ce452ab82ca8b3f16fae8c2ef5247a923.tar.gz
android_external_rsync-9486289ce452ab82ca8b3f16fae8c2ef5247a923.tar.bz2
android_external_rsync-9486289ce452ab82ca8b3f16fae8c2ef5247a923.zip
some large systematic changes to make socket conversion easier. The
biggest one is the use of rprintf() instead of fprintf()
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat.c b/compat.c
index ea9b67df..84010215 100644
--- a/compat.c
+++ b/compat.c
@@ -52,12 +52,12 @@ void setup_protocol(int f_out,int f_in)
if (remote_version < MIN_PROTOCOL_VERSION ||
remote_version > MAX_PROTOCOL_VERSION) {
- fprintf(FERROR,"protocol version mismatch - is your shell clean?\n");
+ rprintf(FERROR,"protocol version mismatch - is your shell clean?\n");
exit_cleanup(1);
}
if (verbose > 2)
- fprintf(FINFO, "local_version=%d remote_version=%d\n",
+ rprintf(FINFO, "local_version=%d remote_version=%d\n",
PROTOCOL_VERSION, remote_version);
if (remote_version >= 12) {