Fixed code-violation that checkmycode.org warns about :-)
This commit is contained in:
parent
cb7f0de9f8
commit
0116d1c3a1
|
@ -119,6 +119,9 @@ sockex_nonblocking_connect(void *arg)
|
|||
/* select without waiting should fail */
|
||||
ret = lwip_select(s + 1, &readset, &writeset, &errset, &tv);
|
||||
LWIP_ASSERT("ret == 0", ret == 0);
|
||||
LWIP_ASSERT("!FD_ISSET(s, &writeset)", !FD_ISSET(s, &writeset));
|
||||
LWIP_ASSERT("!FD_ISSET(s, &readset)", !FD_ISSET(s, &readset));
|
||||
LWIP_ASSERT("!FD_ISSET(s, &errset)", !FD_ISSET(s, &errset));
|
||||
|
||||
FD_ZERO(&readset);
|
||||
FD_SET(s, &readset);
|
||||
|
|
Loading…
Reference in New Issue