diff options
author | Wayne Davison <wayned@samba.org> | 2020-04-07 19:21:37 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2020-04-07 19:21:37 -0700 |
commit | e2aee6c4afcae8f05d92cbf27741981b259f2b21 (patch) | |
tree | 8bcece41ef76f8bd29fa272da18a569659e68646 | |
parent | 2598ca668b739c50f4206c06dc1c8d3a561b0866 (diff) | |
download | rsync-e2aee6c4afcae8f05d92cbf27741981b259f2b21.tar.gz |
Switch RSYNC_PORT to -1 in check_for_hostspec().
-rw-r--r-- | options.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |