summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/http.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2008-02-08 09:48:48 +0000
committerdes <des@FreeBSD.org>2008-02-08 09:48:48 +0000
commitff0eb6dba4ac38bc8f108f97b13839326444c5fd (patch)
tree9787b24a4c49da7ada3bb373ada6547b72863e67 /lib/libfetch/http.c
parent1de1bb1bc64ae946ff92754519c24b55e367be12 (diff)
downloadFreeBSD-src-ff0eb6dba4ac38bc8f108f97b13839326444c5fd.zip
FreeBSD-src-ff0eb6dba4ac38bc8f108f97b13839326444c5fd.tar.gz
Use memcpy(3) instead of the BSD-specific bcopy(3).
Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de> MFC after: 2 weeks
Diffstat (limited to 'lib/libfetch/http.c')
-rw-r--r--lib/libfetch/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c
index a5499c6..132949e 100644
--- a/lib/libfetch/http.c
+++ b/lib/libfetch/http.c
@@ -265,7 +265,7 @@ http_readfn(void *v, char *buf, int len)
l = io->buflen - io->bufpos;
if (len < l)
l = len;
- bcopy(io->buf + io->bufpos, buf + pos, l);
+ memcpy(buf + pos, io->buf + io->bufpos, l);
io->bufpos += l;
}
OpenPOWER on IntegriCloud