From a9aefcc1be1049e030891dd9dbfab75d549b9252 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 1 Apr 2008 19:05:40 +0000 Subject: [PATCH] Fixed comments for pbuf_copy() and find_entry() as proposed by Luca Ceresoli on lwip-users --- src/core/pbuf.c | 4 ++-- src/netif/etharp.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/pbuf.c b/src/core/pbuf.c index 8d935b02..87400573 100644 --- a/src/core/pbuf.c +++ b/src/core/pbuf.c @@ -667,8 +667,8 @@ pbuf_dechain(struct pbuf *p) * * @note Only one packet is copied, no packet queue! * - * @param p_to pbuf source of the copy - * @param p_from pbuf destination of the copy + * @param p_to pbuf destination of the copy + * @param p_from pbuf source of the copy * * @return ERR_OK if pbuf was copied * ERR_ARG if one of the pbufs is NULL or p_to is not big diff --git a/src/netif/etharp.c b/src/netif/etharp.c index 070b9139..810d932e 100644 --- a/src/netif/etharp.c +++ b/src/netif/etharp.c @@ -353,7 +353,7 @@ find_entry(struct ip_addr *ipaddr, u8_t flags) * 1) empty entry * 2) oldest stable entry * 3) oldest pending entry without queued packets - * 4) oldest pending entry without queued packets + * 4) oldest pending entry with queued packets * * { ETHARP_TRY_HARD is set at this point } */