diff options
| author | goldsimon <[email protected]> | 2018-04-20 07:52:35 +0200 |
|---|---|---|
| committer | goldsimon <[email protected]> | 2018-04-20 07:52:35 +0200 |
| commit | 4a22d6d5a2fd6ba3f56906131f297f694ea47cfe (patch) | |
| tree | deae1178fdb0f60e293f6d10075212e7a84f23d8 /test | |
| parent | 7d1c6ba549606040307dc19ac4b98ba5ed08d6d8 (diff) | |
sockets_stresstest: fix typo (&1, not %1)
Diffstat (limited to 'test')
| -rw-r--r-- | test/sockets/sockets_stresstest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sockets/sockets_stresstest.c b/test/sockets/sockets_stresstest.c index 396b2273..3ac553b1 100644 --- a/test/sockets/sockets_stresstest.c +++ b/test/sockets/sockets_stresstest.c @@ -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); |
