aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-08 12:56:12 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-08 12:56:12 +0000
commitda1eee8c89e45fcce801c1e8ac6d944789f9f3be (patch)
tree8d735855a409fdf211b30d012668de45363bf955 /include
parent8948bf41f1994429526fedb0c629d355b1f14cfe (diff)
downloadlibssh-da1eee8c89e45fcce801c1e8ac6d944789f9f3be.tar.gz
libssh-da1eee8c89e45fcce801c1e8ac6d944789f9f3be.tar.xz
libssh-da1eee8c89e45fcce801c1e8ac6d944789f9f3be.zip
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
Diffstat (limited to 'include')
-rw-r--r--include/libssh/priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 44638eb8..b69a058f 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 */