未验证 提交 04551823 编写于 作者: P plum-lihui 提交者: GitHub

Merge pull request #1168 from taosdata/feature/slguan

TBASE-1452  #1136
......@@ -64,8 +64,11 @@ TAOS *taos_connect_imp(const char *ip, const char *user, const char *pass, const
}
if (ip && ip[0]) {
tscMgmtIpList.numOfIps = 2;
strcpy(tscMgmtIpList.ipstr[0], ip);
tscMgmtIpList.ip[0] = inet_addr(ip);
strcpy(tscMgmtIpList.ipstr[1], ip);
tscMgmtIpList.ip[1] = inet_addr(ip);
}
pObj = (STscObj *)malloc(sizeof(STscObj));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册