diff --git a/source/client/src/clientImpl.c b/source/client/src/clientImpl.c index fdce502078081836b0530609aa27e03f131a4225..d448dd1edf7e49c34f0a736bece4b8febad6c96c 100644 --- a/source/client/src/clientImpl.c +++ b/source/client/src/clientImpl.c @@ -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 {