From 1160dc263eb1428564b82bd35ab7d519c5d83c69 Mon Sep 17 00:00:00 2001 From: David Lin Date: Mon, 29 Jun 2020 19:59:41 +0800 Subject: [PATCH] Update HAL_UDP_linux.c tcp -> udp --- .../3rdparty/platform/os/linux/HAL_UDP_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/connectivity/qcloud-iot-hub-sdk/3rdparty/platform/os/linux/HAL_UDP_linux.c b/components/connectivity/qcloud-iot-hub-sdk/3rdparty/platform/os/linux/HAL_UDP_linux.c index 2d22cc46..eeced583 100644 --- a/components/connectivity/qcloud-iot-hub-sdk/3rdparty/platform/os/linux/HAL_UDP_linux.c +++ b/components/connectivity/qcloud-iot-hub-sdk/3rdparty/platform/os/linux/HAL_UDP_linux.c @@ -47,7 +47,7 @@ uintptr_t HAL_UDP_Connect(const char *host, unsigned short port) hints.ai_family = AF_INET; hints.ai_protocol = IPPROTO_UDP; - Log_d("establish tcp connection with server(host=%s port=%s)", host, port_str); + Log_d("establish udp connection with server(host=%s port=%s)", host, port_str); if (getaddrinfo(host, port_str, &hints, &addr_list) != 0) { Log_e("getaddrinfo error,errno:%s", strerror(errno));