mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-13 17:00:19 +00:00
fix statechange test
This commit is contained in:
1 parent
3c4c04199a
commit
a99cc3dbaf
1 file changed
+2
-1
+2
-1
@@ -44,9 +44,10 @@ static void test_csum(void) {
|
|||||||
static bool executed = false;
|
static bool executed = false;
|
||||||
|
|
||||||
static void mif_fn(struct mg_tcpip_if *ifp, int ev, void *ev_data) {
|
static void mif_fn(struct mg_tcpip_if *ifp, int ev, void *ev_data) {
|
||||||
if (ev == MG_TCPIP_EV_ST_CHG)
|
if (ev == MG_TCPIP_EV_ST_CHG) {
|
||||||
ASSERT(*(uint8_t *) ev_data == MG_TCPIP_STATE_READY);
|
ASSERT(*(uint8_t *) ev_data == MG_TCPIP_STATE_READY);
|
||||||
executed = true;
|
executed = true;
|
||||||
|
}
|
||||||
(void) ifp;
|
(void) ifp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user