Merge pull request #412 from terrafrost/ssh2-connected

SSH2: make isConnected return true if even if we're not logged in

* terrafrost/ssh2-connected:
  SSH2: make isConnected return true if even if we're not logged in
This commit is contained in:
Andreas Fischer 2014-07-20 23:00:30 +02:00
commit cc64ef9d3f

View File

@ -2658,7 +2658,7 @@ class Net_SSH2
*/
function isConnected()
{
return $this->bitmap & NET_SSH2_MASK_LOGIN;
return $this->bitmap & NET_SSH2_MASK_CONNECTED;
}
/**