git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2598ca6
)
Switch RSYNC_PORT to -1 in check_for_hostspec().
author
Wayne Davison
<wayned@samba.org>
Wed, 8 Apr 2020 02:21:37 +0000
(19:21 -0700)
committer
Wayne Davison
<wayned@samba.org>
Wed, 8 Apr 2020 02:21:37 +0000
(19:21 -0700)
options.c
patch
|
blob
|
history
diff --git
a/options.c
b/options.c
index 2db357e272727c76e3a090f6240a844c54687bdc..99d3627ad429768e9d2b20027518f1bcdfa2cfa0 100644
(file)
--- 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)