Missed something in channel_select for CHANNEL

This commit is contained in:
Aris Adamantiadis
2009-07-24 22:24:10 +02:00
parent fdc2751952
commit e406b81d34

View File

@@ -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;