summaryrefslogtreecommitdiff
path: root/net/libfetch/files/http.c
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-02-07 16:14:44 +0000
committerjoerg <joerg@pkgsrc.org>2008-02-07 16:14:44 +0000
commitd85b9063b38c555a75d3806e15b781a367bfa4f8 (patch)
treea2e47eb5e97feb043a90421bade9e0077e172669 /net/libfetch/files/http.c
parenteac8e6ef8ccf02aafcf80cdc031f133c2f3b6f91 (diff)
downloadpkgsrc-d85b9063b38c555a75d3806e15b781a367bfa4f8.tar.gz
bcopy -> memcpy
Diffstat (limited to 'net/libfetch/files/http.c')
-rw-r--r--net/libfetch/files/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/libfetch/files/http.c b/net/libfetch/files/http.c
index ee91ca52ea1..451d284bfc8 100644
--- a/net/libfetch/files/http.c
+++ b/net/libfetch/files/http.c
@@ -1,4 +1,4 @@
-/* $NetBSD: http.c,v 1.1.1.1 2008/02/07 01:48:23 joerg Exp $ */
+/* $NetBSD: http.c,v 1.2 2008/02/07 16:14:44 joerg Exp $ */
/*-
* Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav
* All rights reserved.
@@ -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;
}