Browse Source

- fix typo in r23808

Bernhard Reutner-Fischer 15 years ago
parent
commit
01e6f1e63a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/inet/getaddrinfo.c

+ 1 - 1
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;
     }