]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Complete ConnOpener::connect change from r13459
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 11 Jun 2014 10:25:38 +0000 (12:25 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 11 Jun 2014 10:25:38 +0000 (12:25 +0200)
src/comm/ConnOpener.cc

index 493cfe8b4d1f19c7e644ecbbc1b8488078c7bfe5..3e4b98c7ec7b3a4f7f9130089db7f1c5b24b3dbb 100644 (file)
@@ -342,7 +342,7 @@ Comm::ConnOpener::doConnect()
         } else {
             // send ERROR back to the upper layer.
             debugs(5, 5, HERE << conn_ << ": * - ERR tried too many times already.");
-            sendAnswer(Comm::ERR_CONNECT, xerrno, "Comm::ConnOpener::connect");
+            sendAnswer(Comm::ERR_CONNECT, xerrno, "Comm::ConnOpener::doConnect");
         }
     }
     }
@@ -424,7 +424,7 @@ Comm::ConnOpener::timeout(const CommTimeoutCbParams &)
 }
 
 /* Legacy Wrapper for the retry event after Comm::INPROGRESS
- * XXX: As soon as Comm::SetSelect() accepts Async calls we can use a ConnOpener::connect call
+ * XXX: As soon as Comm::SetSelect() accepts Async calls we can use a ConnOpener::doConnect call
  */
 void
 Comm::ConnOpener::InProgressConnectRetry(int fd, void *data)
@@ -435,7 +435,7 @@ Comm::ConnOpener::InProgressConnectRetry(int fd, void *data)
         // Ew. we are now outside the all AsyncJob protections.
         // get back inside by scheduling another call...
         typedef NullaryMemFunT<Comm::ConnOpener> Dialer;
-        AsyncCall::Pointer call = JobCallback(5, 4, Dialer, cs, Comm::ConnOpener::connect);
+        AsyncCall::Pointer call = JobCallback(5, 4, Dialer, cs, Comm::ConnOpener::doConnect);
         ScheduleCallHere(call);
     }
     delete ptr;