Minor spelling typos and formatting fixes.

This commit is contained in:
jifl
2008-01-11 14:28:58 +00:00
parent 4e40fee1db
commit 886cfbe12d
3 changed files with 5 additions and 6 deletions

View File

@@ -10,7 +10,7 @@
* To let mem_malloc() use pools (prevents fragmentation and is much faster than
* a heap but might waste some memory), define MEM_USE_POOLS to 1, define
* MEM_USE_CUSTOM_POOLS to 1 and create a file "lwippools.h" that includes a list
* of pools like the this (more pools can be added between _START and _END):
* of pools like this (more pools can be added between _START and _END):
*
* Define three pools with sizes 256, 512, and 1512 bytes
* LWIP_MALLOC_MEMPOOL_START

View File

@@ -412,7 +412,7 @@ udp_sendto_if(struct udp_pcb *pcb, struct pbuf *p,
/* not enough space to add an UDP header to first pbuf in given p chain? */
if (pbuf_header(p, UDP_HLEN)) {
/* allocate header in a seperate new pbuf */
/* allocate header in a separate new pbuf */
q = pbuf_alloc(PBUF_IP, UDP_HLEN, PBUF_RAM);
/* new header pbuf could not be allocated? */
if (q == NULL) {
@@ -527,7 +527,7 @@ udp_sendto_if(struct udp_pcb *pcb, struct pbuf *p,
/* TODO: must this be increased even if error occured? */
snmp_inc_udpoutdatagrams();
/* did we chain a seperate header pbuf earlier? */
/* did we chain a separate header pbuf earlier? */
if (q != p) {
/* free the header pbuf */
pbuf_free(q);