mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-05 06:39:52 +00: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:
parent
d8b6cdffcb
commit
a78dbb25c5
@ -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);
|
||||
|
@ -204,7 +204,7 @@ typedef int ssize_t;
|
||||
#endif /* SSIZE_MAX */
|
||||
|
||||
/** Define this to 1 in arch/cc.h of your port if your compiler does not provide
|
||||
* the cytype.h header. If ctype.h is available, a few few character functions
|
||||
* the ctype.h header. If ctype.h is available, a few character functions
|
||||
* are mapped to the appropriate functions (lwip_islower, lwip_isdigit...), if
|
||||
* not, a private implementation is provided.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user