summaryrefslogtreecommitdiffstats
path: root/libssh/kex.c
diff options
context:
space:
mode:
authormilo <milo@r0ot.me>2010-08-08 22:48:54 +0200
committerAndreas Schneider <asn@cynapses.org>2010-08-09 20:53:49 +0200
commiteb361626cbc782bb65aa536fb22c5d100fdefdaf (patch)
tree5123f9b61099d7a9edb4c7a08b706a16de340f89 /libssh/kex.c
parentb0f8ca556bc2bb18b9177d13b802a5ce11204bd8 (diff)
downloadlibssh-eb361626cbc782bb65aa536fb22c5d100fdefdaf.tar.gz
libssh-eb361626cbc782bb65aa536fb22c5d100fdefdaf.tar.xz
libssh-eb361626cbc782bb65aa536fb22c5d100fdefdaf.zip
session: Added callback for the connection per session.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
Diffstat (limited to 'libssh/kex.c')
-rw-r--r--libssh/kex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/kex.c b/libssh/kex.c
index 1e50eb1f..4bb7e389 100644
--- a/libssh/kex.c
+++ b/libssh/kex.c
@@ -315,7 +315,7 @@ SSH_PACKET_CALLBACK(ssh_packet_kexinit){
leave_function();
session->session_state=SSH_SESSION_STATE_KEXINIT_RECEIVED;
- ssh_connection_callback(session);
+ session->ssh_connection_callback(session);
return SSH_PACKET_USED;
error:
ssh_string_free(str);