mirror of https://github.com/wolfSSL/wolfssh.git
Release rollup
1. Fix a dead store by using the value. 2. Revert removing the clean from configure.pull/254/head
parent
a32b5ad4ae
commit
9583cfcebd
|
@ -175,6 +175,11 @@ AX_CREATE_GENERIC_CONFIG
|
|||
|
||||
AC_OUTPUT
|
||||
|
||||
# force make clean
|
||||
AS_ECHO(["---"])
|
||||
AS_ECHO(["Running make clean..."])
|
||||
make clean >/dev/null 2>&1
|
||||
|
||||
# output config summary
|
||||
AS_ECHO(["---"])
|
||||
AS_ECHO(["Configuration summary for $PACKAGE_NAME version $VERSION"])
|
||||
|
|
|
@ -1219,7 +1219,7 @@ int wolfSSH_SFTP_read(WOLFSSH* ssh)
|
|||
|
||||
if ((int)state->idx < state->sz) {
|
||||
ret = wolfSSH_worker(ssh, NULL);
|
||||
if (ssh->error == WS_WANT_READ) {
|
||||
if (ret != WS_SUCCESS && ssh->error == WS_WANT_READ) {
|
||||
/* was something there to read, try again */
|
||||
state->toSend = 2;
|
||||
return WS_FATAL_ERROR;
|
||||
|
|
Loading…
Reference in New Issue