mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-09-30 00:55:17 +00:00
Minor changes: replace directy call to memcpy by MEMCPY macro.
This commit is contained in:
parent
343f1561b0
commit
f687cc2699
@ -278,7 +278,7 @@ netbios_recv(void *arg, struct udp_pcb *upcb, struct pbuf *p, struct ip_addr *ad
|
||||
resp->resp_hdr.additionalRRs = 0;
|
||||
|
||||
/* prepare NetBIOS header datas */
|
||||
memcpy( resp->resp_name.encname, netbios_name_hdr->encname, sizeof(netbios_name_hdr->encname));
|
||||
MEMCPY( resp->resp_name.encname, netbios_name_hdr->encname, sizeof(netbios_name_hdr->encname));
|
||||
resp->resp_name.nametype = netbios_name_hdr->nametype;
|
||||
resp->resp_name.type = netbios_name_hdr->type;
|
||||
resp->resp_name.class = netbios_name_hdr->class;
|
||||
|
Loading…
Reference in New Issue
Block a user