Commit 3add5835 authored by Wayne Davison's avatar Wayne Davison

If rsync_port is 0, set it to RSYNC_PORT.

parent cf510ad2
......@@ -88,6 +88,9 @@ int start_socket_client(char *host, char *path, int argc, char *argv[])
*p = '\0';
}
if (rsync_port == 0)
rsync_port = RSYNC_PORT;
fd = open_socket_out_wrapped(host, rsync_port, bind_address,
default_af_hint);
if (fd == -1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment