- remove functions marked as LEGACY in SUSv3 and use their modern counterparts.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user