pbuf_alloc_copy -> pbuf_clone

This commit is contained in:
goldsimon
2017-04-25 22:01:42 +02:00
parent 3a01c32e55
commit e57552d401
3 changed files with 4 additions and 4 deletions

View File

@@ -1332,7 +1332,7 @@ pbuf_coalesce(struct pbuf *p, pbuf_layer layer)
* @return a new pbuf or NULL if allocation fails
*/
struct pbuf *
pbuf_alloc_copy(pbuf_layer layer, pbuf_type type, struct pbuf *p)
pbuf_clone(pbuf_layer layer, pbuf_type type, struct pbuf *p)
{
struct pbuf *q;
err_t err;