From bf176ed712c70df85306af6593ebc39dd08b1c3a Mon Sep 17 00:00:00 2001 From: fbernon Date: Tue, 3 Jul 2007 21:27:59 +0000 Subject: [PATCH] Minor fix (indent) --- src/core/pbuf.c | 2 +- src/netif/etharp.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/pbuf.c b/src/core/pbuf.c index 5dbdfb57..92fb1bd8 100644 --- a/src/core/pbuf.c +++ b/src/core/pbuf.c @@ -184,7 +184,7 @@ pbuf_alloc(pbuf_layer l, u16_t length, pbuf_flag flag) rem_len = length - p->len; /* any remaining pbufs to be allocated? */ while (rem_len > 0) { - q = memp_malloc(MEMP_PBUF_POOL); + q = memp_malloc(MEMP_PBUF_POOL); if (q == NULL) { /* free chain so far allocated */ pbuf_free(p); diff --git a/src/netif/etharp.c b/src/netif/etharp.c index cc0ed30b..35d0b861 100644 --- a/src/netif/etharp.c +++ b/src/netif/etharp.c @@ -1028,8 +1028,8 @@ etharp_raw(struct netif *netif, const struct eth_addr *ethsrc_addr, LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE | 2, ("etharp_raw: could not allocate pbuf for ARP request.\n")); return ERR_MEM; } - LWIP_ASSERT("check that first pbuf can hold struct etharp_hdr", - (p->len >= sizeof(struct etharp_hdr))); + LWIP_ASSERT("check that first pbuf can hold struct etharp_hdr", + (p->len >= sizeof(struct etharp_hdr))); hdr = p->payload; LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_raw: sending raw ARP packet.\n"));