diff --git a/src/udp_wrap.cc b/src/udp_wrap.cc index eb02db0a2a45a7..e249f1c0b5ff96 100644 --- a/src/udp_wrap.cc +++ b/src/udp_wrap.cc @@ -229,12 +229,12 @@ int sockaddr_for_family(int address_family, const unsigned short port, struct sockaddr_storage* addr) { switch (address_family) { - case AF_INET: - return uv_ip4_addr(address, port, reinterpret_cast(addr)); - case AF_INET6: - return uv_ip6_addr(address, port, reinterpret_cast(addr)); - default: - CHECK(0 && "unexpected address family"); + case AF_INET: + return uv_ip4_addr(address, port, reinterpret_cast(addr)); + case AF_INET6: + return uv_ip6_addr(address, port, reinterpret_cast(addr)); + default: + CHECK(0 && "unexpected address family"); } }