mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-09-20 14:03:38 +08:00
mqtt: fix wrong memset in last test commit
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
@@ -129,7 +129,7 @@ START_TEST(rx_overflow)
|
||||
fail_unless(err == ERR_OK);
|
||||
|
||||
client->conn->connected(client->conn->callback_arg, client->conn, ERR_OK);
|
||||
memset(rxbuf, sizeof(rxbuf), 0xff);
|
||||
memset(rxbuf, 0xff, sizeof(rxbuf));
|
||||
p = pbuf_alloc(PBUF_RAW, sizeof(rxbuf), PBUF_REF);
|
||||
fail_unless(p != NULL);
|
||||
p->payload = rxbuf;
|
||||
|
||||
Reference in New Issue
Block a user