From: Wayne Davison Date: Wed, 8 Apr 2020 02:21:37 +0000 (-0700) Subject: Switch RSYNC_PORT to -1 in check_for_hostspec(). X-Git-Tag: v3.2.0pre1~177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2aee6c4afcae8f05d92cbf27741981b259f2b21;p=thirdparty%2Frsync.git Switch RSYNC_PORT to -1 in check_for_hostspec(). --- 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)