diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-07 14:10:45 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-07 14:10:45 +0000 |
commit | aea8587586b768d053c2d57fc88fca519e67fdbf (patch) | |
tree | 20d9aec07c6f594a1d7ab9e30c1e4e05f17d207a /include | |
parent | 8d3a43db7ad387db6369cbf77323cf21b60c494a (diff) | |
download | libssh-aea8587586b768d053c2d57fc88fca519e67fdbf.tar.gz libssh-aea8587586b768d053c2d57fc88fca519e67fdbf.tar.xz libssh-aea8587586b768d053c2d57fc88fca519e67fdbf.zip |
Add return values and error checking to channel_default_bufferize().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@414 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 22b836b..31f6606 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -600,7 +600,7 @@ STRING *ssh_encrypt_rsa1(SSH_SESSION *session, STRING *data, PUBLIC_KEY *key); /* channel.c */ void channel_handle(SSH_SESSION *session, int type); CHANNEL *channel_new(SSH_SESSION *session); -void channel_default_bufferize(CHANNEL *channel, void *data, int len, +int channel_default_bufferize(CHANNEL *channel, void *data, int len, int is_stderr); u32 ssh_channel_new_id(SSH_SESSION *session); CHANNEL *ssh_channel_from_local(SSH_SESSION *session,u32 num); |