diff options
-rw-r--r-- | libc/inet/getaddrinfo.c | 2 |
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; } |