Skip to content

Commit 967d6c5

Browse files
authored
Merge pull request #846 from JacobBarthelmeh/sftp
Fix for interop case with SFTP
2 parents 2d2c1f5 + ae17014 commit 967d6c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wolfsftp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5717,7 +5717,7 @@ static int SFTP_ClientRecvInit(WOLFSSH* ssh) {
57175717
switch (ssh->sftpState) {
57185718
case SFTP_RECV:
57195719
ret = wolfSSH_worker(ssh,NULL);
5720-
if (ret != WS_CHAN_RXD) {
5720+
if (ret != 0 && ret != WS_CHAN_RXD) {
57215721
return ret;
57225722
}
57235723

0 commit comments

Comments
 (0)