提交 1f7f1d43 编写于 作者: H Hui Li

[TD-604]

上级 1f1ae670
...@@ -1262,9 +1262,10 @@ bool taosCheckGlobalCfg() { ...@@ -1262,9 +1262,10 @@ bool taosCheckGlobalCfg() {
taosSetAllDebugFlag(); taosSetAllDebugFlag();
} }
if (tsLocalFqdn[0] == 0) if (tsLocalFqdn[0] == 0) {
taosGetFqdn(tsLocalEp); taosGetFqdn(tsLocalFqdn);
else }
strcpy(tsLocalEp, tsLocalFqdn); strcpy(tsLocalEp, tsLocalFqdn);
snprintf(tsLocalEp + strlen(tsLocalEp), sizeof(tsLocalEp), ":%d", tsServerPort); snprintf(tsLocalEp + strlen(tsLocalEp), sizeof(tsLocalEp), ":%d", tsServerPort);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册