提交 0b707a10 编写于 作者: dengyihao's avatar dengyihao

fix err while connect invalid fqdn

上级 95a1db6e
......@@ -106,7 +106,7 @@ STscObj* taos_connect_internal(const char* ip, const char* user, const char* pas
SCorEpSet epSet = {0};
if (ip) {
if (initEpSetFromCfg(ip, NULL, &epSet) < 0) {
if (initEpSetFromCfg(ip, tsSecond, &epSet) < 0) {
return NULL;
}
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册