]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix spelling error and polish some debugs
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 14 Jan 2017 15:47:45 +0000 (04:47 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 14 Jan 2017 15:47:45 +0000 (04:47 +1300)
src/client_side.cc
src/security/PeerConnector.cc

index 5ed353938f3a2b4f9241ec096a9a6a62ce5cd86b..caa87eed93d27f4fc904749b9951e450f455d4f3 100644 (file)
@@ -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;
     }
 
index e81df2d4314e00d4ca95df6aba62b9151461ed17..b92ddbe0dcd1f6f5413d8fc2b52d900f58bb6dc1 100644 (file)
@@ -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;
 }