We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c10896c commit ae17014Copy full SHA for ae17014
src/wolfsftp.c
@@ -5717,7 +5717,7 @@ static int SFTP_ClientRecvInit(WOLFSSH* ssh) {
5717
switch (ssh->sftpState) {
5718
case SFTP_RECV:
5719
ret = wolfSSH_worker(ssh,NULL);
5720
- if (ret != WS_CHAN_RXD) {
+ if (ret != 0 && ret != WS_CHAN_RXD) {
5721
return ret;
5722
}
5723
0 commit comments