diff options
| author | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-07-08 21:52:00 +0000 |
|---|---|---|
| committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-07-08 21:52:00 +0000 |
| commit | 3113d8756628f463fda33b93801aee3c6ee9aa32 (patch) | |
| tree | d864332990048f379bf44b14679d19c3d7498c4f /libssh | |
| parent | 636432e47593f145675e40e21bb8c8b6eb6ce8be (diff) | |
| download | libssh-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')
| -rw-r--r-- | libssh/server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/server.c b/libssh/server.c index 716d63d..25f760a 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; } |
