diff options
author | des <des@FreeBSD.org> | 2008-02-08 09:48:48 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2008-02-08 09:48:48 +0000 |
commit | ff0eb6dba4ac38bc8f108f97b13839326444c5fd (patch) | |
tree | 9787b24a4c49da7ada3bb373ada6547b72863e67 /lib/libfetch/http.c | |
parent | 1de1bb1bc64ae946ff92754519c24b55e367be12 (diff) | |
download | FreeBSD-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.c | 2 |
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; } |