commit
2aed6526e8
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue