From 8ece2abfab35da017c58bde04b97fa98f212a1b0 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 20 Nov 2018 09:27:54 +0100 Subject: session: Use long for the timeout Signed-off-by: Andreas Schneider --- include/libssh/session.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/libssh/session.h') diff --git a/include/libssh/session.h b/include/libssh/session.h index f0ad951b..0c015fa0 100644 --- a/include/libssh/session.h +++ b/include/libssh/session.h @@ -235,8 +235,10 @@ struct ssh_session_struct { */ typedef int (*ssh_termination_function)(void *user); int ssh_handle_packets(ssh_session session, int timeout); -int ssh_handle_packets_termination(ssh_session session, int timeout, - ssh_termination_function fct, void *user); +int ssh_handle_packets_termination(ssh_session session, + long timeout, + ssh_termination_function fct, + void *user); void ssh_socket_exception_callback(int code, int errno_code, void *user); #endif /* SESSION_H_ */ -- cgit v1.2.3