]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
preprocessor + namespaces + class members = mess. Removed some name overlapping.
authorFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 24 Jan 2012 14:29:38 +0000 (15:29 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 24 Jan 2012 14:29:38 +0000 (15:29 +0100)
src/ipc/Port.cc
src/ipc/Port.h

index 29c3bc213bfcd10a1bb8fa75f91237ffddb10171..cc34bacaffe826b70e60213da54a460764f52a71 100644 (file)
@@ -25,10 +25,10 @@ Ipc::Port::Port(const String& aListenAddr):
 void Ipc::Port::start()
 {
     UdsOp::start();
-    listen();
+    doListen();
 }
 
-void Ipc::Port::listen()
+void Ipc::Port::doListen()
 {
     debugs(54, 6, HERE);
     buf.prepForReading();
@@ -64,5 +64,5 @@ void Ipc::Port::noteRead(const CommIoCbParams& params)
     // TODO: if there was a fatal error on our socket, close the socket before
     // trying to listen again and print a level-1 error message.
 
-    listen();
+    doListen();
 }
index a2d69b52b502ce7ee3eb407220cccaaa76aab921..2dff29a944f62137433fc31915650c4730eada4e 100644 (file)
@@ -30,7 +30,7 @@ protected:
     virtual bool doneAll() const; // UdsOp (AsyncJob) API
 
     /// read the next incoming message
-    void listen();
+    void doListen();
 
     /// handle IPC message just read
     virtual void receive(const TypedMsgHdr& message) = 0;