瀏覽代碼

[components][sal][at] netdb添加at_gethostbyname_r

ryancw 11 月之前
父節點
當前提交
e9711d5640
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/net/sal/impl/af_inet_at.c

+ 1 - 1
components/net/sal/impl/af_inet_at.c

@@ -99,7 +99,7 @@ static const struct sal_socket_ops at_socket_ops =
 static const struct sal_netdb_ops at_netdb_ops =
 {
     at_gethostbyname,
-    NULL,
+    at_gethostbyname_r,
     at_getaddrinfo,
     at_freeaddrinfo,
 };