aboutsummaryrefslogtreecommitdiff
path: root/libssh/server.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-09-23 22:13:19 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-09-23 22:13:19 +0200
commit0e8e124d2023736c973ce8e06f4776efd1edb096 (patch)
treea713a4cdee7a21b4c4dceaa0e34b71fa67edbfb4 /libssh/server.c
parent9a8d4cd0fdd18127065cacbc11296933669ea9ca (diff)
downloadlibssh-0e8e124d2023736c973ce8e06f4776efd1edb096.tar.gz
libssh-0e8e124d2023736c973ce8e06f4776efd1edb096.tar.xz
libssh-0e8e124d2023736c973ce8e06f4776efd1edb096.zip
get rid of SSH_OPTIONS
Diffstat (limited to 'libssh/server.c')
-rw-r--r--libssh/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/server.c b/libssh/server.c
index a116836c..b58316d4 100644
--- a/libssh/server.c
+++ b/libssh/server.c
@@ -122,7 +122,7 @@ SSH_BIND *ssh_bind_new(void) {
return ptr;
}
-void ssh_bind_set_options(SSH_BIND *ssh_bind, SSH_OPTIONS *options) {
+void ssh_bind_set_options(SSH_BIND *ssh_bind, ssh_options options) {
ssh_bind->options = options;
}
@@ -271,7 +271,7 @@ extern char *supported_methods[];
static int server_set_kex(ssh_session session) {
KEX *server = &session->server_kex;
- SSH_OPTIONS *options = session->options;
+ ssh_options options = session->options;
int i, j;
char *wanted;