mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-05-18 20:06:07 -04:00
Switching to a better rsync_port fix.
This commit is contained in:
6
main.c
6
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user