mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
Fix build w/o logging
PUBLISHED_FROM=694346bd6562c55e5ab00886df47f7cbfb0a3720
This commit is contained in:
parent
41e5d7e471
commit
b99a94a652
@ -15182,6 +15182,7 @@ static err_t mg_lwip_tcp_recv_cb(void *arg, struct tcp_pcb *tpcb,
|
||||
}
|
||||
mg_lwip_recv_common(nc, p);
|
||||
mgos_unlock();
|
||||
(void) err;
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
@ -15194,6 +15195,7 @@ static err_t mg_lwip_tcp_sent_cb(void *arg, struct tcp_pcb *tpcb,
|
||||
nc->send_mbuf.len == 0 && tpcb->unsent == NULL && tpcb->unacked == NULL) {
|
||||
mg_lwip_post_signal(MG_SIG_CLOSE_CONN, nc);
|
||||
}
|
||||
(void) num_sent;
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
|
@ -187,6 +187,7 @@ static err_t mg_lwip_tcp_recv_cb(void *arg, struct tcp_pcb *tpcb,
|
||||
}
|
||||
mg_lwip_recv_common(nc, p);
|
||||
mgos_unlock();
|
||||
(void) err;
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
@ -199,6 +200,7 @@ static err_t mg_lwip_tcp_sent_cb(void *arg, struct tcp_pcb *tpcb,
|
||||
nc->send_mbuf.len == 0 && tpcb->unsent == NULL && tpcb->unacked == NULL) {
|
||||
mg_lwip_post_signal(MG_SIG_CLOSE_CONN, nc);
|
||||
}
|
||||
(void) num_sent;
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user