pbuf: fix "returns" documentation on pbuf_get_contiguous()

See bug #64049
This commit is contained in:
Simon Goldschmidt 2023-10-03 17:34:53 +02:00
parent ae5a5b99eb
commit 1ef6189287

View File

@ -1099,7 +1099,7 @@ pbuf_copy_partial(const struct pbuf *buf, void *dataptr, u16_t len, u16_t offset
* @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
* @return the number of bytes copied, or 0 on failure
* @return pointer to 'buffer' on success or NULL on error
*/
void *
pbuf_get_contiguous(const struct pbuf *p, void *buffer, size_t bufsize, u16_t len, u16_t offset)