提交 bd3451a8 编写于 作者: wafwerar's avatar wafwerar

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

上级 a5fece22
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册