From 7a37f9faf788897ce7bf44a65f828d4980d19c77 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 4 Oct 2009 10:10:19 +0200 Subject: Fixed ssh_options_copy(). --- 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 f4cb55b..e794893 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -383,7 +383,7 @@ LIBSSH_API int ssh_message_type(ssh_message msg); LIBSSH_API int ssh_mkdir (const char *pathname, mode_t mode); LIBSSH_API ssh_session ssh_new(void); -LIBSSH_API ssh_options ssh_options_copy(ssh_options opt); +LIBSSH_API int ssh_options_copy(ssh_session src, ssh_session *dest); LIBSSH_API int ssh_options_getopt(ssh_options options, int *argcptr, char **argv); LIBSSH_API int ssh_options_parse_config(ssh_options opt, const char *filename); LIBSSH_API int ssh_options_set(ssh_session session, enum ssh_options_e type, -- cgit v1.2.3