diff --git a/src/SyncClient.cpp b/src/SyncClient.cpp index cb5b1fb..aeb5559 100644 --- a/src/SyncClient.cpp +++ b/src/SyncClient.cpp @@ -102,6 +102,7 @@ static std::string string_join(std::vector const& srcs, static bool dns_resolve(std::string const& target, std::vector& endpoints, bool ipv4 = true) { std::vector target_parts; + bool ipv6_url{false}; { size_t rindex = target.rfind(':'); if (rindex == target.npos) {