added check for nullptr in sshclient
This commit is contained in:
parent
32ca02bcc7
commit
da9ac6ff25
2 changed files with 7 additions and 4 deletions
|
|
@ -42,9 +42,9 @@ namespace libssh {
|
|||
ErrorCode fromLibsshErrorCode(int errorCode);
|
||||
ErrorCode fromLibsshSftpErrorCode(int errorCode);
|
||||
|
||||
ssh_session m_session {};
|
||||
ssh_channel m_channel {};
|
||||
sftp_session m_sftpSession {};
|
||||
ssh_session m_session = nullptr;
|
||||
ssh_channel m_channel = nullptr;
|
||||
sftp_session m_sftpSession = nullptr;
|
||||
signals:
|
||||
void writeToChannelFinished();
|
||||
void sftpFileCopyFinished();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue