summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/gethost.c
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2000-11-23 13:45:03 +0000
committerDamien Doligez <damien.doligez-inria.fr>2000-11-23 13:45:03 +0000
commit9d1cf09c54f25b91ac1521e43054e4a52d698daf (patch)
tree4db16fbf049d7309366334f69e47918216977ab9 /otherlibs/unix/gethost.c
parentcb681720eab307945936188efea5f88e3b06661e (diff)
bcopy -> memmove dans otherlibs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3341 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/unix/gethost.c')
-rw-r--r--otherlibs/unix/gethost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/gethost.c b/otherlibs/unix/gethost.c
index bae25f711..6e27928e4 100644
--- a/otherlibs/unix/gethost.c
+++ b/otherlibs/unix/gethost.c
@@ -34,7 +34,7 @@ extern int socket_domain_table[];
static value alloc_one_addr(char *a)
{
struct in_addr addr;
- bcopy(a, &addr, entry_h_length);
+ memmove (&addr, a, entry_h_length);
return alloc_inet_addr(addr.s_addr);
}