Reformat netbuf.c using astylerc

This commit is contained in:
Dirk Ziegelmeier 2017-09-17 17:45:26 +02:00
parent 3d60024f9b
commit bfae233e3e

View File

@ -159,7 +159,7 @@ netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size)
buf->ptr = NULL;
return ERR_MEM;
}
((struct pbuf_rom*)buf->p)->payload = dataptr;
((struct pbuf_rom *)buf->p)->payload = dataptr;
buf->p->len = buf->p->tot_len = size;
buf->ptr = buf->p;
return ERR_OK;