used memcpy instead of bcopy
This commit is contained in:
parent
57c1f7a16d
commit
8d0e721c22
|
@ -223,7 +223,7 @@ unixif_input_handler(void *data)
|
|||
bufptr = buf;
|
||||
q = p;
|
||||
while (rlen > 0) {
|
||||
bcopy(bufptr, q->payload, rlen > q->len? q->len: rlen);
|
||||
memcpy(bufptr, q->payload, rlen > q->len? q->len: rlen);
|
||||
rlen -= q->len;
|
||||
bufptr += q->len;
|
||||
q = q->next;
|
||||
|
|
Loading…
Reference in New Issue