From: Alex Rousskov Date: Sun, 4 Sep 2011 18:53:36 +0000 (-0600) Subject: SourceFormat X-Git-Tag: take08~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e67d05084788da0fb5cd742afb3542886150cc83;p=thirdparty%2Fsquid.git SourceFormat --- diff --git a/src/ipc/Coordinator.cc b/src/ipc/Coordinator.cc index 91b8d9ee44..35231c02d0 100644 --- a/src/ipc/Coordinator.cc +++ b/src/ipc/Coordinator.cc @@ -66,9 +66,9 @@ void Ipc::Coordinator::registerStrand(const StrandCoord& strand) if (i->tag == strand.tag) { notifySearcher(*i, strand); i = searchers.erase(i); - } else { + } else { ++i; - } + } } } @@ -195,7 +195,7 @@ Ipc::Coordinator::handleSearchRequest(const Ipc::StrandSearchRequest &request) if (strand) { notifySearcher(request, *strand); return; - } + } searchers.push_back(request); debugs(54, 3, HERE << "cannot yet tell kid" << request.requestorId <<