mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-23 16:47:05 +08:00
use memset and memcpy instead of bzero and bcopy throughout lwIP core code.Archs need to update.Bug #1899
This commit is contained in:
@@ -55,7 +55,7 @@ loopif_output(struct netif *netif, struct pbuf *p,
|
||||
ptr = r->payload;
|
||||
|
||||
for(q = p; q != NULL; q = q->next) {
|
||||
bcopy(q->payload, ptr, q->len);
|
||||
memcpy(ptr, q->payload, q->len);
|
||||
ptr += q->len;
|
||||
}
|
||||
netif->input(r, netif);
|
||||
|
||||
Reference in New Issue
Block a user