From ca2526bd8fb538afb59620791d49096b9ee5220c Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 15 Jan 2017 04:47:45 +1300 Subject: [PATCH] Fix spelling error and polish some debugs --- src/client_side.cc | 2 +- src/security/PeerConnector.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client_side.cc b/src/client_side.cc index 5ed353938f..caa87eed93 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -2562,7 +2562,7 @@ static bool httpsCreate(const Comm::ConnectionPointer &conn, const Security::ContextPointer &ctx) { if (Security::CreateServerSession(ctx, conn, "client https start")) { - debugs(33, 5, "will negotate TLS on " << conn); + debugs(33, 5, "will negotiate TLS on " << conn); return true; } diff --git a/src/security/PeerConnector.cc b/src/security/PeerConnector.cc index e81df2d431..b92ddbe0dc 100644 --- a/src/security/PeerConnector.cc +++ b/src/security/PeerConnector.cc @@ -448,7 +448,7 @@ void Security::PeerConnector::noteWantRead() { const int fd = serverConnection()->fd; - debugs(83, 5, "FD " << fd); + debugs(83, 5, serverConnection()); #if USE_OPENSSL Security::SessionPointer session(fd_table[fd].ssl); BIO *b = SSL_get_rbio(session.get()); @@ -479,7 +479,7 @@ void Security::PeerConnector::noteWantWrite() { const int fd = serverConnection()->fd; - debugs(83, 5, "FD " << fd); + debugs(83, 5, serverConnection()); Comm::SetSelect(fd, COMM_SELECT_WRITE, &NegotiateSsl, this, 0); return; } -- 2.47.3