commit | 8ce3b7c7cb6db418080d697c9d6f186d8b446194 | [log] [tgz] |
---|---|---|
author | Dragos Dan <danvdragos@gmail.com> | Tue Mar 09 09:17:22 2021 +0200 |
committer | GitHub <noreply@github.com> | Tue Mar 09 08:17:22 2021 +0100 |
tree | ed67e61eecb0c3c5b8f29ac4cb1ff51de7463468 | |
parent | fa9e08da07daf5122c8a03501020463d18fec81c [diff] [blame] |
client session ssh BUGFIX wrong variable size (#295) Causing problems on big endian architectures.
diff --git a/src/session_client_ssh.c b/src/session_client_ssh.c index 7097e8e..3f65d4c 100644 --- a/src/session_client_ssh.c +++ b/src/session_client_ssh.c
@@ -1537,7 +1537,7 @@ struct nc_client_ssh_opts *opts, int timeout) { char *host = NULL, *username = NULL, *ip_host; - unsigned short port = 0; + unsigned int port = 0; int sock; struct passwd *pw; struct nc_session *session = NULL;