summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-03-22 05:08:53 +0000
committerMartin Pool <mbp@samba.org>2002-03-22 05:08:53 +0000
commitc1a04ecbfdf06ad3ca27f4bb294bb0c92115b7dd (patch)
treeb8444ae9fdf6f97ee5433f5085110c5f76b6582c /main.c
parent69b06c50c4a2a94adbf0ca1d3eaef02fab511390 (diff)
downloadrsync-c1a04ecbfdf06ad3ca27f4bb294bb0c92115b7dd.tar.gz
Doc.
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index f723da4e..168f83e1 100644
--- a/main.c
+++ b/main.c
@@ -640,14 +640,14 @@ static int copy_argv (char *argv[])
}
-/*
+/**
* Start a client for either type of remote connection. Work out
* whether the arguments request a remote shell or rsyncd connection,
* and call the appropriate connection function, then run_client.
*
* Calls either start_socket_client (for sockets) or do_cmd and
* client_run (for ssh).
- */
+ **/
static int start_client(int argc, char *argv[])
{
char *p;
@@ -694,7 +694,7 @@ static int start_client(int argc, char *argv[])
p = find_colon(argv[0]);
if (p) {
- if (p[1] == ':') {
+ if (p[1] == ':') { /* double colon */
*p = 0;
return start_socket_client(argv[0], p+2, argc-1, argv+1);
}