From a5af1ed95549cbee1656b90afc65374dc726ba5d Mon Sep 17 00:00:00 2001 From: Colin Caine Date: Thu, 7 Sep 2023 09:54:28 +0100 Subject: [PATCH] Match formatting in two similar functions (#1107) Makes it easier to visually compare them --- src/Connections.jl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Connections.jl b/src/Connections.jl index 4534401e0..182bace24 100644 --- a/src/Connections.jl +++ b/src/Connections.jl @@ -571,9 +571,10 @@ function getconnection(::Type{SSLContext}, end function getconnection(::Type{SSLStream}, - host::AbstractString, - port::AbstractString; - kw...)::SSLStream + host::AbstractString, + port::AbstractString; + kw...)::SSLStream + port = isempty(port) ? "443" : port @debugv 2 "SSL connect: $host:$port..." tcp = getconnection(TCPSocket, host, port; kw...)