mirror of https://github.com/wolfSSL/wolfssh.git
Fix where the result of sending a channel close was getting replaced
with success.pull/22/head
parent
184182d152
commit
ccc1101612
|
@ -2587,8 +2587,7 @@ static int DoPacket(WOLFSSH* ssh)
|
|||
|
||||
case MSGID_CHANNEL_CLOSE:
|
||||
WLOG(WS_LOG_DEBUG, "Decoding MSGID_CHANNEL_CLOSE");
|
||||
DoChannelClose(ssh, buf + idx, payloadSz, &payloadIdx);
|
||||
ret = WS_SUCCESS;
|
||||
ret = DoChannelClose(ssh, buf + idx, payloadSz, &payloadIdx);
|
||||
break;
|
||||
|
||||
case MSGID_CHANNEL_REQUEST:
|
||||
|
|
Loading…
Reference in New Issue