From 6532afa7b84febf668080db1b458691aa49c942d Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Mon, 24 Jul 2023 18:49:13 +0800 Subject: [PATCH] fix err while connect invalid fqdn --- source/client/src/clientImpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/client/src/clientImpl.c b/source/client/src/clientImpl.c index fdce502078..d448dd1edf 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 { -- GitLab