From 5eaef50a7755e0be58fd6695a132c44520a4762a Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Sun, 4 Nov 2012 12:11:41 +0100 Subject: [PATCH] Remove newlines in LWIP_ERROR calls --- src/core/pbuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/pbuf.c b/src/core/pbuf.c index bf313d33..0e5981bd 100644 --- a/src/core/pbuf.c +++ b/src/core/pbuf.c @@ -890,12 +890,12 @@ pbuf_copy(struct pbuf *p_to, struct pbuf *p_from) if((p_from != NULL) && (p_from->len == p_from->tot_len)) { /* don't copy more than one packet! */ - LWIP_ERROR("pbuf_copy() does not allow packet queues!\n", + LWIP_ERROR("pbuf_copy() does not allow packet queues!", (p_from->next == NULL), return ERR_VAL;); } if((p_to != NULL) && (p_to->len == p_to->tot_len)) { /* don't copy more than one packet! */ - LWIP_ERROR("pbuf_copy() does not allow packet queues!\n", + LWIP_ERROR("pbuf_copy() does not allow packet queues!", (p_to->next == NULL), return ERR_VAL;); } } while (p_from);