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:
@@ -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. */
|
||||
|
Reference in New Issue
Block a user