Merged patch #927 which fixes "needs modifiable lvalue" compile error in TCP_REG.

This commit is contained in:
likewise
2003-01-08 15:37:20 +00:00
parent a528a2323e
commit 5e13d495f0
2 changed files with 2 additions and 8 deletions

View File

@@ -417,6 +417,7 @@ extern struct tcp_pcb *tcp_tmp_pcb; /* Only used for temporary storage. */
tcp_tmp_pcb = tcp_tmp_pcb->next) { \
ASSERT("TCP_REG: already registered\n", tcp_tmp_pcb != npcb); \
} \
/* TODO: state field doesn't exist in listen pcbs */ \
ASSERT("TCP_REG: pcb->state != CLOSED", npcb->state != CLOSED); \
npcb->next = *pcbs; \
ASSERT("TCP_REG: npcb->next != npcb", npcb->next != npcb); \