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:
Joel Cunningham 2017-11-06 09:35:24 -06:00
parent d8b6cdffcb
commit a78dbb25c5
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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.
*/