- Made start_socket_client() and start_inband_exchange() take a variable
authorWayne Davison <wayned@samba.org>
Sun, 9 Sep 2007 07:53:05 +0000 (07:53 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 9 Sep 2007 07:53:05 +0000 (07:53 +0000)
commit7909e65f8307f0e0a632275d4d895cf95f3de039
treec54fc6a511b2eb9e3f9c0dd001f8c151351270e5
parentf74a3d813be237df00fe9fb0258cf248572c67c5
- Made start_socket_client() and start_inband_exchange() take a variable
  number of remote args.
- We now exchange a "VERSION.SUBVERSION" value in the initial @RSYNCD
  message.  This is backward compatible with pre-protocol 30 rsyncs,
  and fixes a problem where rsync daemons weren't checking if they were
  speaking a compatible pre-release protocol.
- Moved the protocol-handling code (which was in two places) into a new
  function:  exchange_protocols().
- Protocol 30 now sends/receives the daemon args using NULLs as a separator
  rather than a newline.
- Moved the arg-reading code into a new function in io.c:  read_args().
clientserver.c