diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-02 11:50:23 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-02 11:50:23 +0000 |
commit | d86ac9e04bc5511f7c45406c6cf6e48d43de3626 (patch) | |
tree | d8b0b7f3543b048ea03c8a4c65883eb301918831 /include/libssh/libssh.h | |
parent | 71913c8fea05f4e90277642265667c312f4831ee (diff) | |
download | libssh-d86ac9e04bc5511f7c45406c6cf6e48d43de3626.tar.gz libssh-d86ac9e04bc5511f7c45406c6cf6e48d43de3626.tar.xz libssh-d86ac9e04bc5511f7c45406c6cf6e48d43de3626.zip |
Improve ssh_options_set_port().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@351 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 322b0e00..ad81ee96 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -309,7 +309,7 @@ SSH_OPTIONS *ssh_options_copy(SSH_OPTIONS *opt); void ssh_options_free(SSH_OPTIONS *opt); int ssh_options_set_wanted_algos(SSH_OPTIONS *opt, int algo, const char *list); int ssh_options_set_username(SSH_OPTIONS *opt, const char *username); -void ssh_options_set_port(SSH_OPTIONS *opt, unsigned int port); +int ssh_options_set_port(SSH_OPTIONS *opt, unsigned int port); int ssh_options_getopt(SSH_OPTIONS *options, int *argcptr, char **argv); int ssh_options_set_host(SSH_OPTIONS *opt, const char *host); void ssh_options_set_fd(SSH_OPTIONS *opt, socket_t fd); |