Skip to content

Commit

Permalink
Merge branch '1.0' into 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed May 14, 2021
2 parents 1e36329 + 9a7cfaf commit 0b4484a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpseclib/Net/SSH2.php
Original file line number Diff line number Diff line change
Expand Up @@ -3335,7 +3335,7 @@ function _get_binary_packet($skip_channel_filter = false)
$read = array($this->fsock);
$write = $except = null;

if ($this->curTimeout <= 0) {
if (!$this->curTimeout) {
if ($this->keepAlive <= 0) {
@stream_select($read, $write, $except, null);
} else {
Expand Down

0 comments on commit 0b4484a

Please sign in to comment.