[TD-13761]<fix>: redefine dir api.

This commit is contained in:
afwerar 2022-03-09 18:08:02 +08:00
parent 031b50ff76
commit a5fece22c6
1 changed files with 1 additions and 0 deletions

View File

@ -827,6 +827,7 @@ int32_t taosGetFqdn(char *fqdn) {
int32_t ret = getaddrinfo(hostname, NULL, &hints, &result);
if (!result) {
printf("failed to get fqdn, code:%d, reason:%s", ret, gai_strerror(ret));
assert(0);
return -1;
}