aboutsummaryrefslogtreecommitdiff
path: root/libssh/messages.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/messages.c')
-rw-r--r--libssh/messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/messages.c b/libssh/messages.c
index 5c87aa2a..3f2f1540 100644
--- a/libssh/messages.c
+++ b/libssh/messages.c
@@ -825,7 +825,7 @@ void message_handle(SSH_SESSION *session, u32 type){
* must take care of the response).
*/
void ssh_set_message_callback(SSH_SESSION *session,
- int(*ssh_message_callback)(struct ssh_session *session, struct ssh_message *msg)){
+ int(*ssh_message_callback)(ssh_session session, struct ssh_message *msg)){
session->ssh_message_callback=ssh_message_callback;
}