[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] channels: Fix typ of len variable
[Thread Prev] | [Thread Next]
- Subject: [PATCH] channels: Fix typ of len variable
- From: Heiko Thiery <heiko.thiery@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 30 Mar 2020 15:53:07 +0200
- To: libssh@xxxxxxxxxx
- Cc: peter.schneider@xxxxxxxxxxx, asn@xxxxxxxxxxxxxx, mvasko@xxxxxxxxx, Heiko Thiery <heiko.thiery@xxxxxxxxx>
The return value of ssh_buffer_get_len is uint32_t instead of size_t. Signed-off-by: Heiko Thiery <heiko.thiery@xxxxxxxxx> --- src/channels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/channels.c b/src/channels.c index d0eeddf9..20cafeac 100644 --- a/src/channels.c +++ b/src/channels.c @@ -3092,7 +3092,7 @@ int ssh_channel_poll_timeout(ssh_channel channel, int timeout, int is_stderr) ssh_session session; ssh_buffer stdbuf; struct ssh_channel_read_termination_struct ctx; - size_t len; + uint32_t len; int rc; if(channel == NULL) { -- 2.20.1
[RFC] channels regression issue | Heiko Thiery <heiko.thiery@xxxxxxxxx> |