From 20fb04d9fb73a9000180cd16f50bfe2646b29e2e Mon Sep 17 00:00:00 2001 From: Paramat Date: Sat, 23 Feb 2019 02:41:36 +0000 Subject: Attend to LINT sillyness (#8276) --- src/network/address.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/network') diff --git a/src/network/address.cpp b/src/network/address.cpp index 896b24317..05678aa62 100644 --- a/src/network/address.cpp +++ b/src/network/address.cpp @@ -282,10 +282,8 @@ bool Address::isLocalhost() const auto addr = m_address.ipv6.sin6_addr.s6_addr; -// clang-format off return memcmp(addr, localhost_bytes, 16) == 0 || memcmp(addr, mapped_ipv4_localhost, 13) == 0; -// clang-format on } return (m_address.ipv4.sin_addr.s_addr & 0xFF) == 0x7f; -- cgit v1.2.3