refactor code

This commit is contained in:
yihaoDeng 2023-12-06 16:05:44 +08:00
parent 5cc67ca9f6
commit 35e948ecfa
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ _OVER:
static FORCE_INLINE int32_t taosBuildDstAddr(const char* server, uint16_t port, struct sockaddr_in* dest) {
uint32_t ip = taosGetIpv4FromFqdn(server);
if (ip == 0xffffffff) {
tError("http-report failed to get http server:%s since %s", server, errno == 0 ? "invalid http server" : terrstr());
tError("http-report failed to resolving domain names: %s", server);
return -1;
}
char buf[128] = {0};