浏览代码

- fix typo in r23808

Bernhard Reutner-Fischer 15 年之前
父节点
当前提交
01e6f1e63a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
     }