aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-12-08 17:09:59 +0000
committerWayne Davison <wayned@samba.org>2004-12-08 17:09:59 +0000
commitcf510ad2c545b04e689b5e0ad636de3efcedba75 (patch)
tree3c6105a0663c65f1aac1a97aebe053785082ba38 /main.c
parent696a8d6191ef14a39196ec7d6f284e6461cdb05d (diff)
downloadandroid_external_rsync-cf510ad2c545b04e689b5e0ad636de3efcedba75.tar.gz
android_external_rsync-cf510ad2c545b04e689b5e0ad636de3efcedba75.tar.bz2
android_external_rsync-cf510ad2c545b04e689b5e0ad636de3efcedba75.zip
Switching to a better rsync_port fix.
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/main.c b/main.c
index 4c088415..7ff33f55 100644
--- 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';
- } else
- rsync_port = RSYNC_PORT;
+ }
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';
- } else
- rsync_port = RSYNC_PORT;
+ }
return start_socket_client(host, path, argc-1, argv);
}