aboutsummaryrefslogtreecommitdiff
path: root/libssh/packet.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-12-18 23:56:59 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2009-12-18 23:56:59 +0100
commita1870a62cffc8c09acf56a33dbf0a55238829b58 (patch)
tree68fb3a644ffd442175559497276c1acd2c44d573 /libssh/packet.c
parent98819f92e342bad3553cd956fbc100eac92384a4 (diff)
downloadlibssh-a1870a62cffc8c09acf56a33dbf0a55238829b58.tar.gz
libssh-a1870a62cffc8c09acf56a33dbf0a55238829b58.tar.xz
libssh-a1870a62cffc8c09acf56a33dbf0a55238829b58.zip
Documentation callbacks.h + standardization
Diffstat (limited to 'libssh/packet.c')
-rw-r--r--libssh/packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/packet.c b/libssh/packet.c
index 73c22789..dba00772 100644
--- a/libssh/packet.c
+++ b/libssh/packet.c
@@ -289,7 +289,7 @@ void ssh_packet_register_socket_callback(ssh_session session, ssh_socket s){
session->socket_callbacks.connected=NULL;
session->socket_callbacks.controlflow=NULL;
session->socket_callbacks.exception=NULL;
- session->socket_callbacks.user=session;
+ session->socket_callbacks.userdata=session;
ssh_socket_set_callbacks(s,&session->socket_callbacks);
}