From: Amos Jeffries Date: Sat, 14 Jan 2017 15:47:45 +0000 (+1300) Subject: Fix spelling error and polish some debugs X-Git-Tag: M-staged-PR71~284^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca2526bd8fb538afb59620791d49096b9ee5220c;p=thirdparty%2Fsquid.git Fix spelling error and polish some debugs --- 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; }