Replace bcmp() with memcmp()

This commit is contained in:
Andrew Bettison 2012-03-29 13:02:10 +10:30
parent 942605d247
commit 6f74393ea1

View File

@ -295,7 +295,7 @@ int overlay_saw_mdp_frame(int interface, overlay_mdp_frame *mdp,long long now)
for(i=0;i<MDP_MAX_BINDINGS;i++)
{
if (!bcmp(&mdp->out.dst,&mdp_bindings[i],sizeof(sockaddr_mdp)))
if (!memcmp(&mdp->out.dst,&mdp_bindings[i],sizeof(sockaddr_mdp)))
{ /* exact and specific match, so stop searching */
match=i; break; }
else {