From e2aee6c4afcae8f05d92cbf27741981b259f2b21 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 7 Apr 2020 19:21:37 -0700 Subject: [PATCH] Switch RSYNC_PORT to -1 in check_for_hostspec(). --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.c b/options.c index 2db357e2..99d3627a 100644 --- a/options.c +++ b/options.c @@ -2937,7 +2937,7 @@ char *check_for_hostspec(char *s, char **host_ptr, int *port_ptr) if (*path == ':') { if (port_ptr && !*port_ptr) - *port_ptr = RSYNC_PORT; + *port_ptr = -1; return path + 1; } if (port_ptr)