Compare commits

..

1 Commits

Author SHA1 Message Date
TapTap 7a4def8411 feat: add --fastsync-server-path flag to configure remote server binary path
CI / lint (pull_request) Successful in 9s
CI / sanitizers (address) (pull_request) Successful in 15s
CI / sanitizers (undefined) (pull_request) Successful in 15s
CI / fuzz-build (pull_request) Successful in 13s
CI / coverage (pull_request) Successful in 11s
CI / valgrind (pull_request) Successful in 13s
CI / build-and-test (pull_request) Successful in 55s
2026-07-21 18:13:17 +02:00
4 changed files with 4 additions and 3 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"); fprintf(stderr, "Error: -f/--sendfile is not supported with SSH transport\n");
return 1; return 1;
} }
client = client_connect_ssh(config->ssh_destination, config->ssh_port, client =
config->fastsync_server_path); client_connect_ssh(config->ssh_destination, config->ssh_port, config->fastsync_server_path);
if (!client) if (!client)
return 1; return 1;
} else if (config->use_tls) { } else if (config->use_tls) {
+2 -1
View File
@@ -174,7 +174,8 @@ Client* client_connect_ssh(const char* destination, int port, const char* server
close(sv[0]); close(sv[0]);
waitpid(pid, NULL, 0); waitpid(pid, NULL, 0);
remote_dest_destroy(&r); 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; return NULL;
} }