Merge pull request #846 from JacobBarthelmeh/sftp

Fix for interop case with SFTP
pull/848/head
David Garske 2025-10-24 09:44:15 -07:00 committed by GitHub
commit 967d6c59ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -5717,7 +5717,7 @@ static int SFTP_ClientRecvInit(WOLFSSH* ssh) {
switch (ssh->sftpState) {
case SFTP_RECV:
ret = wolfSSH_worker(ssh,NULL);
if (ret != WS_CHAN_RXD) {
if (ret != 0 && ret != WS_CHAN_RXD) {
return ret;
}