diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-02 10:13:12 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-02 10:13:12 +0000 |
commit | 6026de46486913c40a9469267c429b2dfa57d806 (patch) | |
tree | 6fede1e55d6cef6544f263aad812b38afa87f320 /include/libssh/libssh.h | |
parent | a9ef024f1045f696e424c77d7bbde8ce324916ac (diff) | |
download | libssh-6026de46486913c40a9469267c429b2dfa57d806.tar.gz libssh-6026de46486913c40a9469267c429b2dfa57d806.tar.xz libssh-6026de46486913c40a9469267c429b2dfa57d806.zip |
Improve ssh_options_set_host().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@347 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 629a0df8..20b28683 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -311,7 +311,7 @@ int ssh_options_set_wanted_algos(SSH_OPTIONS *opt, int algo, const char *list); void ssh_options_set_username(SSH_OPTIONS *opt, const char *username); void ssh_options_set_port(SSH_OPTIONS *opt, unsigned int port); int ssh_options_getopt(SSH_OPTIONS *options, int *argcptr, char **argv); -void ssh_options_set_host(SSH_OPTIONS *opt, const char *host); +int ssh_options_set_host(SSH_OPTIONS *opt, const char *host); void ssh_options_set_fd(SSH_OPTIONS *opt, socket_t fd); void ssh_options_set_bind(SSH_OPTIONS *opt, const char *bindaddr, int port); void ssh_options_set_identity(SSH_OPTIONS *opt, const char *identity); |