[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] ssh_options_set annotations: SSH_OPTIONS_PORT is pointer to int
[Thread Prev] | [Thread Next]
- Subject: [patch] ssh_options_set annotations: SSH_OPTIONS_PORT is pointer to int
- From: g4-lisz@xxxxxxxxxxxx
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 9 Apr 2019 13:00:14 +0200
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
Hi there, a small patch to correct the ssh_options_set() param annotation for SSH_OPTIONS_PORT. Cheers, Till
From 1673002767e2231b7633fbd95671312685e3ed34 Mon Sep 17 00:00:00 2001 From: Till Wimmer <g4-lisz@xxxxxxxxxxxx> Date: Tue, 9 Apr 2019 12:56:39 +0200 Subject: [PATCH] ssh_options_set annotations: SSH_OPTIONS_PORT is pointer to int Signed-off-by: Till Wimmer <g4-lisz@xxxxxxxxxxxx> --- src/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.c b/src/options.c index a5e0f31..ddb64b7 100644 --- a/src/options.c +++ b/src/options.c @@ -249,7 +249,7 @@ int ssh_options_set_algo(ssh_session session, * The hostname or ip address to connect to (const char *). * * - SSH_OPTIONS_PORT: - * The port to connect to (unsigned int). + * The port to connect to (unsigned int *). * * - SSH_OPTIONS_PORT_STR: * The port to connect to (const char *). -- 2.7.4
Archive administrator: postmaster@lists.cynapses.org