aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2019-10-31 13:44:02 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-12-09 16:08:03 +0100
commitdad2720355b6d1a94b6a516d45fe87feebcd2d83 (patch)
tree2fdf16c9905e394d90de701c4640936da1816a38 /include/libssh
parent6f39deefcd2a449868ced5f167c44fdec6a61eb8 (diff)
downloadlibssh-dad2720355b6d1a94b6a516d45fe87feebcd2d83.tar.gz
libssh-dad2720355b6d1a94b6a516d45fe87feebcd2d83.tar.xz
libssh-dad2720355b6d1a94b6a516d45fe87feebcd2d83.zip
channels: Fix integer and bool argument of channel_default_bufferize()
Fixes T188 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/channels.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libssh/channels.h b/include/libssh/channels.h
index fc03965a..bbabcfd1 100644
--- a/include/libssh/channels.h
+++ b/include/libssh/channels.h
@@ -97,8 +97,9 @@ SSH_PACKET_CALLBACK(channel_rcv_close);
SSH_PACKET_CALLBACK(channel_rcv_request);
SSH_PACKET_CALLBACK(channel_rcv_data);
-int channel_default_bufferize(ssh_channel channel, void *data, int len,
- int is_stderr);
+int channel_default_bufferize(ssh_channel channel,
+ void *data, size_t len,
+ bool is_stderr);
int ssh_channel_flush(ssh_channel channel);
uint32_t ssh_channel_new_id(ssh_session session);
ssh_channel ssh_channel_from_local(ssh_session session, uint32_t id);