- remove functions marked as LEGACY in SUSv3 and use their modern counterparts.

This commit is contained in:
Bernhard Reutner-Fischer
2006-12-12 11:50:44 +00:00
parent 32f3ebf08f
commit 6f0540e7ec
2 changed files with 6 additions and 6 deletions

View File

@ -166,7 +166,7 @@ Modified IPv6-aware C code:
int error;
/* Get host address. Any type of address will do. */
bzero(&hints, sizeof(hints));
memset(&hints, 0, sizeof(hints));
hints.ai_flags = AI_ALL|AI_ADDRCONFIG;
hints.ai_socktype = SOCK_STREAM;