Skip to content

Commit 10a568e

Browse files
azertyfunNathan Monfils
authored andcommitted
Fix unrelated test not correct checking for PJ_EPENIDNG (#4878)
1 parent 8f1e9b5 commit 10a568e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pjlib/src/pjlib-test/ioq_tcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ static int send_recv_test(pj_ioqueue_t *ioque,
167167
// Starts send on the client side.
168168
bytes = bufsize;
169169
status = pj_ioqueue_send(ckey, &write_op, send_buf, &bytes, 0);
170-
if (status != PJ_SUCCESS && bytes != PJ_EPENDING) {
170+
if (status != PJ_SUCCESS && status != PJ_EPENDING) {
171171
return -120;
172172
}
173173
if (status == PJ_EPENDING) {

0 commit comments

Comments
 (0)