Compare commits

..

1 Commits

Author SHA1 Message Date
TapTap 9443db8db8 feat: add --fastsync-server-path flag to configure remote server binary path
CI / lint (pull_request) Failing after 2s
CI / build-and-test (pull_request) Has been skipped
CI / sanitizers (address) (pull_request) Has been skipped
CI / sanitizers (undefined) (pull_request) Has been skipped
CI / fuzz-build (pull_request) Has been skipped
CI / coverage (pull_request) Has been skipped
CI / valgrind (pull_request) Has been skipped
2026-07-21 18:09:50 +02:00
4 changed files with 3 additions and 4 deletions
View File
View File
+2 -2
View File
@@ -386,8 +386,8 @@ int send_files(Config* config) {
fprintf(stderr, "Error: -f/--sendfile is not supported with SSH transport\n");
return 1;
}
client =
client_connect_ssh(config->ssh_destination, config->ssh_port, config->fastsync_server_path);
client = client_connect_ssh(config->ssh_destination, config->ssh_port,
config->fastsync_server_path);
if (!client)
return 1;
} else if (config->use_tls) {
+1 -2
View File
@@ -174,8 +174,7 @@ Client* client_connect_ssh(const char* destination, int port, const char* server
close(sv[0]);
waitpid(pid, NULL, 0);
remote_dest_destroy(&r);
fprintf(stderr, "Error: could not launch '%s --stdio' on remote\n",
server_path ? server_path : "fastsync-server");
fprintf(stderr, "Error: could not launch '%s --stdio' on remote\n", server_path ? server_path : "fastsync-server");
return NULL;
}