diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-12 11:50:44 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-12 11:50:44 +0000 |
commit | 6217166ab258b418c80f18ee55d9e4b19b76a972 (patch) | |
tree | a71489f9c5b37b4095d05345f3ac2dc33fb6835b /docs | |
parent | eadaaa8eb3818706cc5d52e889b88efdfb2cae24 (diff) | |
download | busybox-w32-6217166ab258b418c80f18ee55d9e4b19b76a972.tar.gz busybox-w32-6217166ab258b418c80f18ee55d9e4b19b76a972.tar.bz2 busybox-w32-6217166ab258b418c80f18ee55d9e4b19b76a972.zip |
- remove functions marked as LEGACY in SUSv3 and use their modern counterparts.
git-svn-id: svn://busybox.net/trunk/busybox@16850 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ipv4_ipv6.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ipv4_ipv6.txt b/docs/ipv4_ipv6.txt index e83db0dbd..92010b59c 100644 --- a/docs/ipv4_ipv6.txt +++ b/docs/ipv4_ipv6.txt | |||
@@ -166,7 +166,7 @@ Modified IPv6-aware C code: | |||
166 | int error; | 166 | int error; |
167 | 167 | ||
168 | /* Get host address. Any type of address will do. */ | 168 | /* Get host address. Any type of address will do. */ |
169 | bzero(&hints, sizeof(hints)); | 169 | memset(&hints, 0, sizeof(hints)); |
170 | hints.ai_flags = AI_ALL|AI_ADDRCONFIG; | 170 | hints.ai_flags = AI_ALL|AI_ADDRCONFIG; |
171 | hints.ai_socktype = SOCK_STREAM; | 171 | hints.ai_socktype = SOCK_STREAM; |
172 | 172 | ||