Skip to content

Commit a99cc3d

Browse files
committed
fix statechange test
1 parent 3c4c041 commit a99cc3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/mip_test.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ static void test_csum(void) {
4444
static bool executed = false;
4545

4646
static void mif_fn(struct mg_tcpip_if *ifp, int ev, void *ev_data) {
47-
if (ev == MG_TCPIP_EV_ST_CHG)
47+
if (ev == MG_TCPIP_EV_ST_CHG) {
4848
ASSERT(*(uint8_t *) ev_data == MG_TCPIP_STATE_READY);
4949
executed = true;
50+
}
5051
(void) ifp;
5152
}
5253

0 commit comments

Comments
 (0)