From ffa3f84aae912951b90aadeb44c02db8eba0f2ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Ma=C5=82ecki?= Date: Mon, 5 Dec 2022 10:43:10 +0100 Subject: [PATCH] Updated to latest upstream. Cleared other changes --- srtcore/common.h | 1 + test/test_common.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/srtcore/common.h b/srtcore/common.h index 5e8389f5c..13e43a4b8 100644 --- a/srtcore/common.h +++ b/srtcore/common.h @@ -193,6 +193,7 @@ class CUDTException: public std::exception }; + enum UDTSockType { UDT_UNDEFINED = 0, // initial trap representation diff --git a/test/test_common.cpp b/test/test_common.cpp index 9f9118fce..901083dfa 100644 --- a/test/test_common.cpp +++ b/test/test_common.cpp @@ -16,7 +16,6 @@ void test_cipaddress_pton(const char* peer_ip, int family, const uint32_t (&ip)[ ss.ss_family = family; void* sin_addr = nullptr; - if (family == AF_INET) { sockaddr_in* const sa = (sockaddr_in*)&ss;