version 1.50, 2020/11/24 16:54:44 |
version 1.51, 2020/12/15 08:20:42 |
|
|
if (opts.port == NULL) |
if (opts.port == NULL) |
opts.port = "rsync"; |
opts.port = "rsync"; |
|
|
|
/* by default and for --timeout=0 disable poll_timeout */ |
|
if (poll_timeout == 0) |
|
poll_timeout = -1; |
|
else |
|
poll_timeout *= 1000; |
|
|
/* |
/* |
* This is what happens when we're started with the "hidden" |
* This is what happens when we're started with the "hidden" |
* --server option, which is invoked for the rsync on the remote |
* --server option, which is invoked for the rsync on the remote |
|
|
|
|
if (opts.server) |
if (opts.server) |
exit(rsync_server(&opts, (size_t)argc, argv)); |
exit(rsync_server(&opts, (size_t)argc, argv)); |
|
|
/* by default and for --timeout=0 disable poll_timeout */ |
|
if (poll_timeout == 0) |
|
poll_timeout = -1; |
|
else |
|
poll_timeout *= 1000; |
|
|
|
/* |
/* |
* Now we know that we're the client on the local machine |
* Now we know that we're the client on the local machine |