From cd0ae4007f7a213ed88980d29b5d783e6f8e04ad Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Sat, 20 Jun 2020 00:51:30 +0800 Subject: [PATCH] src: improve indention for upd_wrap.cc PR-URL: https://github.com/nodejs/node/pull/33976 Reviewed-By: David Carlier Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- src/udp_wrap.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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"); } }