--- old/clientserver.c
+++ new/clientserver.c
-@@ -836,6 +836,13 @@ int daemon_main(void)
+@@ -847,6 +847,13 @@ int daemon_main(void)
* address too. In fact, why not just do inet_ntop on the
* local address??? */
FN_LOCAL_STRING(lp_auth_users, auth_users)
--- old/main.c
+++ new/main.c
-@@ -962,6 +962,18 @@ static int start_client(int argc, char *
+@@ -971,6 +971,18 @@ static int start_client(int argc, char *
+
if (!read_batch) { /* for read_batch, NO source is specified */
- argc--;
shell_path = check_for_hostspec(argv[0], &shell_machine, &rsync_port);
+
+ if (shell_machine && !shell_machine[0]) {
* FLOG and FCLIENT are only used on the daemon side for custom logging,
--- old/rsync.yo
+++ new/rsync.yo
-@@ -137,7 +137,12 @@ particular rsync daemon by leaving off t
+@@ -139,7 +139,12 @@ particular rsync daemon by leaving off t
quote(tt(rsync somehost.mydomain.com::))
enddit()
-@@ -544,6 +553,7 @@ use chroot = no
+@@ -543,6 +552,7 @@ use chroot = no
max connections = 4
syslog facility = local5
pid file = /var/run/rsyncd.pid