With -vv, client shows a message when opening a daemon connection.
authorMartin Pool <mbp@samba.org>
Sat, 23 Feb 2002 00:57:30 +0000 (00:57 +0000)
committerMartin Pool <mbp@samba.org>
Sat, 23 Feb 2002 00:57:30 +0000 (00:57 +0000)
This parallels the recent addition of a log message for opening ssh
connections.

clientserver.c

index 93a1eef..1a638db 100644 (file)
@@ -80,6 +80,8 @@ int start_socket_client(char *host, char *path, int argc, char *argv[])
        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);