diff --git a/source/os/src/osSocket.c b/source/os/src/osSocket.c index 24db2d7c5f5726d949c42d5f084508fee8d8a3e9..38f933dcbf9787beeb0ed768fa3bb04770ea1703 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; }