projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- constify some read-only members and remove superfluous casts
[oweals/busybox.git]
/
docs
/
ipv4_ipv6.txt
diff --git
a/docs/ipv4_ipv6.txt
b/docs/ipv4_ipv6.txt
index e83db0dbd69e9421caa6ddc45b2dbc0897de4486..92010b59cda5cbf8773513e3543872ac3c6a8685 100644
(file)
--- a/
docs/ipv4_ipv6.txt
+++ b/
docs/ipv4_ipv6.txt
@@
-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;