Skip to content

Commit

Permalink
SFTP: fix typing error
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Jan 16, 2025
1 parent 41003ab commit 0b9fd98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpseclib/Net/SFTP.php
Original file line number Diff line number Diff line change
Expand Up @@ -3016,7 +3016,7 @@ private function get_sftp_packet($request_id = null)
if ($this->channel_status[self::CHANNEL] === SSH2MessageType::CHANNEL_CLOSE) {
$this->channel_close = true;
}
$this->packet_type = false;
$this->packet_type = -1;
$this->packet_buffer = '';
return false;
}
Expand All @@ -3043,7 +3043,7 @@ private function get_sftp_packet($request_id = null)
if ($this->channel_status[self::CHANNEL] === SSH2MessageType::CHANNEL_CLOSE) {
$this->channel_close = true;
}
$this->packet_type = false;
$this->packet_type = -1;
$this->packet_buffer = '';
return false;
}
Expand Down

0 comments on commit 0b9fd98

Please sign in to comment.