From b6fbe97f24f8f8cffdb467f90a2c42d0f36cedfb Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 2 Apr 2009 11:53:24 +0000 Subject: Improve ssh_options_set_fd(). git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@352 7dcaeef0-15fb-0310-b436-a5af3365683c --- include/libssh/libssh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index ad81ee9..33c72c9 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -312,7 +312,7 @@ int ssh_options_set_username(SSH_OPTIONS *opt, const char *username); 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); +int 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); void ssh_options_set_status_callback(SSH_OPTIONS *opt, void (*callback) -- cgit