From 08931b33c18f83392283157d36c8a8fdade96a9c Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Sat, 25 Feb 2017 17:03:14 +0100 Subject: [PATCH] Fix documentation on pbuf_get_contiguous() --- src/core/pbuf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/pbuf.c b/src/core/pbuf.c index 60df50e7..1aae6bb1 100644 --- a/src/core/pbuf.c +++ b/src/core/pbuf.c @@ -1061,7 +1061,8 @@ pbuf_copy_partial(const struct pbuf *buf, void *dataptr, u16_t len, u16_t offset * a copy into the user-supplied buffer. * * @param p the pbuf from which to copy data - * @param dataptr the application supplied buffer + * @param buffer the application supplied buffer + * @param bufsize size of the application supplied buffer * @param len length of data to copy (dataptr must be big enough). No more * than buf->tot_len will be copied, irrespective of len * @param offset offset into the packet buffer from where to begin copying len bytes