Kaynağa Gözat

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

ryancw 11 ay önce
ebeveyn
işleme
e9711d5640
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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,
 };