aboutsummaryrefslogtreecommitdiffstats
path: root/compat.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-04-21 19:32:46 +0000
committerWayne Davison <wayned@samba.org>2007-04-21 19:32:46 +0000
commit753849fdbcf8df0a408135be469f620bb74f2ab5 (patch)
tree1bc854d6d6816ecaca2bc785a35c4c9115ec810d /compat.c
parentbb25779de7afb3e5a803c81ba6526b92f829c12b (diff)
downloadandroid_external_rsync-753849fdbcf8df0a408135be469f620bb74f2ab5.tar.gz
android_external_rsync-753849fdbcf8df0a408135be469f620bb74f2ab5.tar.bz2
android_external_rsync-753849fdbcf8df0a408135be469f620bb74f2ab5.zip
Batch files need to be written with the new subprotocol value
for protocol 30.
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat.c b/compat.c
index 4b57ec48..0cfb78f7 100644
--- a/compat.c
+++ b/compat.c
@@ -77,7 +77,7 @@ void setup_protocol(int f_out,int f_in)
protocol_version = remote_protocol;
/* CVS support: fallback to finalized protocol if incompatible */
if (protocol_version >= 30) {
- int theirsub, oursub = PROTOCOL_SUBVERSION;
+ int theirsub, oursub = SUBPROTOCOL_VERSION;
if (!read_batch)
write_varint(f_out, oursub);
theirsub = read_varint(f_in);