printf("vlserver: couldn't get address of this host (%s).\n", hostname);
exit(1);
}
- bcopy(th->h_addr,&myHost,sizeof(afs_int32));
+ memcpy(&myHost, th->h_addr, sizeof(afs_int32));
#if !defined(AFS_HPUX_ENV) && !defined(AFS_NT40_ENV) && !defined(AFS_DJGPP_ENV)
signal(SIGXCPU, CheckSignal_Signal);
vldb_confdir = tdir; /* Preserve our configuration dir */
/* rxvab no longer supported */
- bzero(&tkey, sizeof(tkey));
+ memset(&tkey, 0, sizeof(tkey));
if (noAuth) afsconf_SetNoAuthFlag(tdir, 1);
}
rx_SetRxDeadTime(50);
- bzero(HostAddress, sizeof(HostAddress));
+ memset(HostAddress, 0, sizeof(HostAddress));
initialize_dstats();
sc[0] = rxnull_NewServerSecurityObject();