OSDN Git Service

- fix typo in r23808
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 27 Oct 2008 10:02:10 +0000 (10:02 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 27 Oct 2008 10:02:10 +0000 (10:02 -0000)
libc/inet/getaddrinfo.c

index c3c9792..b4f4960 100644 (file)
@@ -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;
     }