Skip to content

Commit 132cc21

Browse files
Fix f_1270
1 parent 7bbc20f commit 132cc21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/internal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9407,7 +9407,7 @@ static int DoChannelFailure(WOLFSSH* ssh, byte* buf, word32 len, word32* idx)
94079407

94089408
WLOG(WS_LOG_DEBUG, "Entering DoChannelFailure()");
94099409

9410-
if (ssh == NULL || buf == NULL || len != 0 || idx == NULL)
9410+
if (ssh == NULL || buf == NULL || len == 0 || idx == NULL)
94119411
ret = WS_BAD_ARGUMENT;
94129412

94139413
if (ret == WS_SUCCESS)

0 commit comments

Comments
 (0)