From e406b81d34ffc041bffbbaa93b983d583dd119ad Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Fri, 24 Jul 2009 22:24:10 +0200 Subject: Missed something in channel_select for CHANNEL --- libssh/channels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libssh/channels.c b/libssh/channels.c index 3e57812..eb54a07 100644 --- a/libssh/channels.c +++ b/libssh/channels.c @@ -1756,7 +1756,7 @@ static int count_ptrs(ssh_channel *ptrs) { */ int channel_select(ssh_channel *readchans, ssh_channel *writechans, ssh_channel *exceptchans, struct timeval * timeout) { - ssh_channel *rchans, **wchans, **echans; + ssh_channel *rchans, *wchans, *echans; ssh_channel dummy = NULL; fd_set rset; fd_set wset; -- cgit