Switch RSYNC_PORT to -1 in check_for_hostspec().

This commit is contained in:
Wayne Davison
2020-04-07 19:21:37 -07:00
parent 2598ca668b
commit e2aee6c4af

View File

@@ -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)