Fix LoadProhibited (#73)

This commit is contained in:
Bob authored and Me No Dev committed 2019-10-17 10:08:59 +03:00
1 parent cacac8f871
commit ca8ac5f919
1 file changed
+4 -1
+4 -1
View File
@@ -152,7 +152,10 @@ static bool _remove_events_with_arg(void * arg){
}
static void _handle_async_event(lwip_event_packet_t * e){
if(e->event == LWIP_TCP_CLEAR){
if(e->arg == NULL){
// do nothing when arg is NULL
//ets_printf("event arg == NULL: 0x%08x\n", e->recv.pcb);
} else if(e->event == LWIP_TCP_CLEAR){
_remove_events_with_arg(e->arg);
} else if(e->event == LWIP_TCP_RECV){
//ets_printf("-R: 0x%08x\n", e->recv.pcb);