From 2f1862ca36aa20cc261c0daeabcdb518995a3a23 Mon Sep 17 00:00:00 2001 From: Akhil Thampy Date: Mon, 25 Nov 2019 05:01:48 -0800 Subject: [PATCH] fix format Signed-off-by: Akhil Thampy --- source/common/network/address_impl.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/common/network/address_impl.cc b/source/common/network/address_impl.cc index 8b9b0f7a28b3..f886d4fc61bf 100644 --- a/source/common/network/address_impl.cc +++ b/source/common/network/address_impl.cc @@ -351,8 +351,8 @@ PipeInstance::PipeInstance(const sockaddr_un* address, socklen_t ss_len, mode_t } address_ = *address; if (abstract_namespace_) { - if(mode != 0){ - throw EnvoyException("Cannot set mode for Abstract AF_UNIX sockets"); + if (mode != 0) { + throw EnvoyException("Cannot set mode for Abstract AF_UNIX sockets"); } // Replace all null characters with '@' in friendly_name_. friendly_name_ = @@ -380,8 +380,8 @@ PipeInstance::PipeInstance(const std::string& pipe_path, mode_t mode) : Instance #if !defined(__linux__) throw EnvoyException("Abstract AF_UNIX sockets are only supported on linux."); #endif - if(mode != 0){ - throw EnvoyException("Cannot set mode for Abstract AF_UNIX sockets"); + if (mode != 0) { + throw EnvoyException("Cannot set mode for Abstract AF_UNIX sockets"); } abstract_namespace_ = true; address_length_ = pipe_path.size();