SSH2: fix "Expected SSH_FXP_STATUS or ..." error

This commit is contained in:
terrafrost 2016-06-29 00:30:28 -05:00
parent 8530cbca1a
commit 7bc0e61c1d

View File

@ -3473,7 +3473,9 @@ class Net_SSH2
}
$this->channel_status[$channel] = NET_SSH2_MSG_CHANNEL_CLOSE;
return true;
if ($client_channel == $channel) {
return true;
}
case NET_SSH2_MSG_CHANNEL_EOF:
break;
default: