mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-15 12:47:08 +08:00
docs: small clean ups for last couple of commits:
* Fix typos in LWIP_NO_CTYPE_H comment block * Update comment around caller of tcp_kill_prio()
This commit is contained in:
@@ -1752,8 +1752,8 @@ tcp_alloc(u8_t prio)
|
||||
/* Try to allocate a tcp_pcb again. */
|
||||
pcb = (struct tcp_pcb *)memp_malloc(MEMP_TCP_PCB);
|
||||
if (pcb == NULL) {
|
||||
/* Try killing oldest active connection with the same or lower priority than the new one. */
|
||||
LWIP_DEBUGF(TCP_DEBUG, ("tcp_alloc: killing oldest connection with prio same/lower than %d\n", prio));
|
||||
/* Try killing oldest active connection with lower priority than the new one. */
|
||||
LWIP_DEBUGF(TCP_DEBUG, ("tcp_alloc: killing oldest connection with prio lower than %d\n", prio));
|
||||
tcp_kill_prio(prio);
|
||||
/* Try to allocate a tcp_pcb again. */
|
||||
pcb = (struct tcp_pcb *)memp_malloc(MEMP_TCP_PCB);
|
||||
|
||||
Reference in New Issue
Block a user