used memcpy instead of bcopy

This commit is contained in:
goldsimon 2010-03-26 16:16:38 +00:00
parent 57c1f7a16d
commit 8d0e721c22
1 changed files with 1 additions and 1 deletions

View File

@ -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;