changed bzero/bcmp/bcopy to memset/memcmp/memcpy

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@546 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-05-29 23:24:19 +00:00
parent 7434b7feef
commit 3a26642882
4 changed files with 15 additions and 13 deletions

View File

@@ -61,7 +61,7 @@ __icheckhost(u_int32_t raddr, const char *lhost)
/* Spin through ip addresses. */
for (pp = hp->h_addr_list; *pp; ++pp)
if (!bcmp(&raddr, *pp, sizeof(u_long)))
if (memcmp(&raddr, *pp, sizeof(u_long)) == 0)
return (1);
/* No match. */