From a5fece22c6819ac14f1f561fc9792cd398755a97 Mon Sep 17 00:00:00 2001 From: afwerar <1296468573@qq.com> Date: Wed, 9 Mar 2022 18:08:02 +0800 Subject: [PATCH] [TD-13761]: redefine dir api. --- source/os/src/osSocket.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/os/src/osSocket.c b/source/os/src/osSocket.c index 24db2d7c5f..38f933dcbf 100644 --- a/source/os/src/osSocket.c +++ b/source/os/src/osSocket.c @@ -827,6 +827,7 @@ int32_t taosGetFqdn(char *fqdn) { int32_t ret = getaddrinfo(hostname, NULL, &hints, &result); if (!result) { printf("failed to get fqdn, code:%d, reason:%s", ret, gai_strerror(ret)); + assert(0); return -1; } -- GitLab