提交 6532afa7 编写于 作者: Y yihaoDeng

fix err while connect invalid fqdn

上级 2aacee05
......@@ -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, tsSecond, &epSet) < 0) {
if (initEpSetFromCfg(ip, NULL, &epSet) < 0) {
return NULL;
}
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册