From 2e9c13dad00c038fe7fa0eb8e81fc8990cb8893c Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Fri, 9 Oct 2009 21:26:15 +0200 Subject: Modified server API --- include/libssh/server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libssh/server.h') diff --git a/include/libssh/server.h b/include/libssh/server.h index e1ef3df..681792c 100644 --- a/include/libssh/server.h +++ b/include/libssh/server.h @@ -114,7 +114,7 @@ LIBSSH_API void ssh_bind_fd_toaccept(SSH_BIND *ssh_bind); * * @return A newly allocated ssh session, NULL on error. */ -LIBSSH_API ssh_session ssh_bind_accept(SSH_BIND *ssh_bind); +LIBSSH_API int ssh_bind_accept(SSH_BIND *ssh_bind, ssh_session session); /** * @brief Free a ssh servers bind. -- cgit