Ver Fonte

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

ryancw há 11 meses atrás
pai
commit
e9711d5640
1 ficheiros alterados com 1 adições e 1 exclusões
  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,
 };