mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 00:14:02 +00:00
sockets_stresstest: fix typo (&1, not %1)
This commit is contained in:
parent
7d1c6ba549
commit
4a22d6d5a2
@ -453,7 +453,7 @@ sockets_stresstest_conn_client(void *arg)
|
||||
LWIP_ASSERT("s >= 0", s >= 0);
|
||||
|
||||
#if LWIP_NETCONN_FULLDUPLEX
|
||||
if (LWIP_RAND() % 1) {
|
||||
if (LWIP_RAND() & 1) {
|
||||
sys_thread_t t;
|
||||
data = (struct sockets_stresstest_fullduplex*)mem_malloc(sizeof(struct sockets_stresstest_fullduplex));
|
||||
LWIP_ASSERT("data != NULL", data != 0);
|
||||
|
Loading…
Reference in New Issue
Block a user