Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
69b06c5
)
Doc.
author
Martin Pool
<mbp@samba.org>
Fri, 22 Mar 2002 05:08:53 +0000
(
05:08
+0000)
committer
Martin Pool
<mbp@samba.org>
Fri, 22 Mar 2002 05:08:53 +0000
(
05:08
+0000)
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
f723da4
..
168f83e
100644
(file)
--- 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).
* 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;
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) {
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);
}
*p = 0;
return start_socket_client(argv[0], p+2, argc-1, argv+1);
}