From 92a50f731cdb098bbbb605630f335a07d839496f Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Mon, 30 Nov 2009 23:44:40 +0100 Subject: Socket connect callback working... Still need to make sure the connect syscall is correctly called --- include/libssh/callbacks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libssh/callbacks.h') diff --git a/include/libssh/callbacks.h b/include/libssh/callbacks.h index 19a4c461..c7a9e3cf 100644 --- a/include/libssh/callbacks.h +++ b/include/libssh/callbacks.h @@ -50,7 +50,7 @@ typedef void (*ssh_callback_int) (int code, void *user); */ typedef int (*ssh_callback_data) (const void *data, size_t len, void *user); -typedef void (*ssh_callback_int_int) (void *user, int code, int errno_code); +typedef void (*ssh_callback_int_int) (int code, int errno_code, void *user); typedef int (*ssh_message_callback) (ssh_session, ssh_message message, void *user); typedef int (*ssh_channel_callback_int) (ssh_channel channel, int code, void *user); -- cgit