Change the checked error codes to their names.

pull/343/head
John Safranek 2021-10-04 14:05:19 -07:00
parent 0dd21f4593
commit 1ad3fc052b
No known key found for this signature in database
GPG Key ID: 8CE817DE0D3CCB4A
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ THREAD_RETURN WOLFSSH_THREAD portfwd_worker(void* args)
ret = wolfSSH_ChannelSend(fwdChannel, appBuffer, appBufferUsed);
if (ret > 0)
appBufferUsed -= ret;
else if (ret == -1071 || ret == -1057) {
else if (ret == WS_CHANNEL_NOT_CONF || ret == WS_CHAN_RXD) {
#ifdef SHELL_DEBUG
printf("Waiting for channel open confirmation.\n");
#endif