[TBASE-1258]
This commit is contained in:
parent
118861cee1
commit
27215b3452
|
@ -64,8 +64,8 @@ TAOS *taos_connect_imp(const char *ip, const char *user, const char *pass, const
|
||||||
|
|
||||||
#ifdef CLUSTER
|
#ifdef CLUSTER
|
||||||
if (ip && ip[0]) {
|
if (ip && ip[0]) {
|
||||||
strcpy(tscMgmtIpList.ipstr[0], ip);
|
strcpy(tscMgmtIpList.ipstr[1], ip);
|
||||||
tscMgmtIpList.ip[0] = inet_addr(ip);
|
tscMgmtIpList.ip[1] = inet_addr(ip);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if (ip && ip[0]) {
|
if (ip && ip[0]) {
|
||||||
|
|
Loading…
Reference in New Issue