Parcourir la source

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

ryancw il y a 11 mois
Parent
commit
e9711d5640
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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,
 };