1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-06 13:20:57 +03:00

examples: Support passing port to libssh_scp to simplify testing

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2025-09-16 16:04:50 +02:00
parent f3d70e54e9
commit 07d099f652
7 changed files with 24 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ int main(void)
int rc;
uint64_t total = 0;
uint64_t lastshown = 4096;
session = connect_ssh("localhost", NULL, 0);
session = connect_ssh("localhost", NULL, NULL, 0);
if (session == NULL) {
return 1;
}