summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-27 10:02:10 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-27 10:02:10 +0000
commit01e6f1e63ab4b9997f51f58a228ccacd199ed162 (patch)
tree508688c65ed56891c29a9584948f708b2bbea732 /libc
parent8e5539abe36f7eaefc711efb613a93572d13b4cb (diff)
- fix typo in r23808
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/getaddrinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c
index c3c979258..b4f49607b 100644
--- a/libc/inet/getaddrinfo.c
+++ b/libc/inet/getaddrinfo.c
@@ -913,7 +913,7 @@ getaddrinfo (const char *name, const char *service,
{
memset(&default_hints, 0, sizeof(default_hints));
if (AF_UNSPEC)
- default_hints->ai_family = AF_UNSPEC;
+ default_hints.ai_family = AF_UNSPEC;
hints = &default_hints;
}