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

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

View File

@ -810,6 +810,7 @@ int32_t taosGetFqdn(char *fqdn) {
hostname[1023] = '\0';
if (gethostname(hostname, 1023) == -1) {
printf("failed to get hostname, reason:%s", strerror(errno));
assert(0);
return -1;
}