summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-04-23 19:03:29 +0000
committerWayne Davison <wayned@samba.org>2007-04-23 19:03:29 +0000
commit486f8cd1abb053fbe2dc4cbabe3db6f326019ea3 (patch)
tree35e169aeb41c76c83c3831f0f97805ea42234b4d /io.c
parent875a13b42c8fa16811e429e3773ee942d3873d69 (diff)
downloadrsync-486f8cd1abb053fbe2dc4cbabe3db6f326019ea3.tar.gz
Changed the prerelease-protocol support to use an idiom that will not
slow down the initial version handshake between the two sides.
Diffstat (limited to 'io.c')
-rw-r--r--io.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/io.c b/io.c
index 571f1ff7..a7603ff8 100644
--- a/io.c
+++ b/io.c
@@ -1715,11 +1715,6 @@ void start_write_batch(int fd)
* actual communication so far depends on whether a daemon
* is involved. */
write_int(batch_fd, protocol_version);
- if (protocol_version >= 30) {
- int sub = protocol_version == PROTOCOL_VERSION
- ? SUBPROTOCOL_VERSION : 0;
- write_varint(batch_fd, sub);
- }
write_int(batch_fd, checksum_seed);
if (am_sender)