From 0c925f3078e445ebc97d52e2cfed4bb6a82c800b Mon Sep 17 00:00:00 2001 From: Colin Caine Date: Thu, 7 Sep 2023 03:05:40 +0100 Subject: [PATCH] Match formatting in two similar functions 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...)