From da1eee8c89e45fcce801c1e8ac6d944789f9f3be Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 8 Apr 2009 12:56:12 +0000 Subject: Fix header functions and add return value checks. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@430 7dcaeef0-15fb-0310-b436-a5af3365683c --- include/libssh/priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 44638eb..b69a058 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -680,7 +680,7 @@ int channel_request_pty_size1(CHANNEL *channel, char *terminal,int cols, int channel_change_pty_size1(CHANNEL *channel, int cols, int rows); int channel_request_shell1(CHANNEL *channel); int channel_request_exec1(CHANNEL *channel, char *cmd); -void channel_handle1(SSH_SESSION *session,int type); +int channel_handle1(SSH_SESSION *session, int type); int channel_write1(CHANNEL *channel, void *data, int len); /* session.c */ -- cgit