aboutsummaryrefslogtreecommitdiff
path: root/libssh/server.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2005-07-08 21:52:00 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2005-07-08 21:52:00 +0000
commit3113d8756628f463fda33b93801aee3c6ee9aa32 (patch)
treed864332990048f379bf44b14679d19c3d7498c4f /libssh/server.c
parent636432e47593f145675e40e21bb8c8b6eb6ce8be (diff)
downloadlibssh-3113d8756628f463fda33b93801aee3c6ee9aa32.tar.gz
libssh-3113d8756628f463fda33b93801aee3c6ee9aa32.tar.xz
libssh-3113d8756628f463fda33b93801aee3c6ee9aa32.zip
ssh_accept() implementation begining in server.c
it just accepts a socket and send a banner right now. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@5 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/server.c')
-rw-r--r--libssh/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/server.c b/libssh/server.c
index 716d63d1..25f760ad 100644
--- a/libssh/server.c
+++ b/libssh/server.c
@@ -127,6 +127,7 @@ SSH_SESSION *ssh_bind_accept(SSH_BIND *ssh_bind){
session=ssh_new(ssh_options_copy(ssh_bind->options));
session->server=1;
session->fd=fd;
+ session->options=ssh_options_copy(ssh_bind->options);
return session;
}