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 (parent:
696a8d6
)
Switching to a better rsync_port fix.
author
Wayne Davison
<wayned@samba.org>
Wed, 8 Dec 2004 17:09:59 +0000
(17:09 +0000)
committer
Wayne Davison
<wayned@samba.org>
Wed, 8 Dec 2004 17:09:59 +0000
(17:09 +0000)
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
4c08841
..
7ff33f5
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-829,8
+829,7
@@
static int start_client(int argc, char *argv[])
if (p) {
rsync_port = atoi(p+1);
*p = '\0';
if (p) {
rsync_port = atoi(p+1);
*p = '\0';
- } else
- rsync_port = RSYNC_PORT;
+ }
return start_socket_client(host, path, argc-1, argv+1);
}
return start_socket_client(host, path, argc-1, argv+1);
}
@@
-888,8
+887,7
@@
static int start_client(int argc, char *argv[])
if (p) {
rsync_port = atoi(p+1);
*p = '\0';
if (p) {
rsync_port = atoi(p+1);
*p = '\0';
- } else
- rsync_port = RSYNC_PORT;
+ }
return start_socket_client(host, path, argc-1, argv);
}
return start_socket_client(host, path, argc-1, argv);
}