session CHANGE nc_accept is transport-independent
Binds therefore too.
diff --git a/src/session_client_ssh.c b/src/session_client_ssh.c
index 8fb7d50..0463f59 100644
--- a/src/session_client_ssh.c
+++ b/src/session_client_ssh.c
@@ -1168,7 +1168,7 @@
}
API struct nc_session *
-nc_callhome_accept_ssh(uint16_t port, const char *username, int32_t timeout, struct ly_ctx *ctx)
+nc_callhome_accept_ssh(uint16_t port, const char *username, int timeout, struct ly_ctx *ctx)
{
const int ssh_timeout = NC_SSH_TIMEOUT;
int sock;