diff options
author | Wayne Davison <wayned@samba.org> | 2007-04-21 19:32:46 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2007-04-21 19:32:46 +0000 |
commit | 753849fdbcf8df0a408135be469f620bb74f2ab5 (patch) | |
tree | 1bc854d6d6816ecaca2bc785a35c4c9115ec810d /compat.c | |
parent | bb25779de7afb3e5a803c81ba6526b92f829c12b (diff) | |
download | android_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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |