diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-12-12 11:50:44 +0000 |
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-12-12 11:50:44 +0000 |
| commit | 6f0540e7eca61fa10344699d023f4a90f705601d (patch) | |
| tree | a71489f9c5b37b4095d05345f3ac2dc33fb6835b /docs | |
| parent | 32f3ebf08f1c3fbd7279cb031efc87a9ddfa5502 (diff) | |
| download | busybox-w32-6f0540e7eca61fa10344699d023f4a90f705601d.tar.gz busybox-w32-6f0540e7eca61fa10344699d023f4a90f705601d.tar.bz2 busybox-w32-6f0540e7eca61fa10344699d023f4a90f705601d.zip | |
- remove functions marked as LEGACY in SUSv3 and use their modern counterparts.
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 | ||
