This parallels the recent addition of a log message for opening ssh
connections.
if (!user) user = getenv("LOGNAME");
if (verbose >= 2) {
if (!user) user = getenv("LOGNAME");
if (verbose >= 2) {
+ rprintf(FINFO, "opening tcp connection to %s port %d\n",
+ host, rsync_port);
}
fd = open_socket_out_wrapped (host, rsync_port, bind_address,
default_af_hint);
}
fd = open_socket_out_wrapped (host, rsync_port, bind_address,
default_af_hint);