diff options
Diffstat (limited to 'libpipe/pq.h')
-rw-r--r-- | libpipe/pq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpipe/pq.h b/libpipe/pq.h index 4e500b6c..7238ace0 100644 --- a/libpipe/pq.h +++ b/libpipe/pq.h @@ -176,7 +176,7 @@ packet_fit (struct packet *packet, size_t amount) than 25% of the buffer size, then move the data instead of growing the buffer. */ { - bcopy (start, buf, cur_len); + memmove (buf, start, cur_len); packet->buf_start = buf; packet->buf_end = buf + cur_len; } |