Remove extra newlines in LWIP_ASSERT messages

This commit is contained in:
Erik Ekman
2020-07-01 20:51:19 +02:00
parent ec5f3a1563
commit 776e612872
9 changed files with 21 additions and 21 deletions

View File

@@ -358,7 +358,7 @@ extern struct tcp_pcb ** const tcp_pcb_lists[NUM_TCP_PCB_LISTS];
for (tcp_tmp_pcb = *(pcbs); \
tcp_tmp_pcb != NULL; \
tcp_tmp_pcb = tcp_tmp_pcb->next) { \
LWIP_ASSERT("TCP_REG: already registered\n", tcp_tmp_pcb != (npcb)); \
LWIP_ASSERT("TCP_REG: already registered", tcp_tmp_pcb != (npcb)); \
} \
LWIP_ASSERT("TCP_REG: pcb->state != CLOSED", ((pcbs) == &tcp_bound_pcbs) || ((npcb)->state != CLOSED)); \
(npcb)->next = *(pcbs); \