From cb020e95d54175ca6f64db44e53eca66b932f9af Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 7 Sep 2007 09:19:23 +0000 Subject: Fixes for QPID-581 & QPID-563 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@573516 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/lib/common/sys/apr/LFSessionContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/lib/common/sys/apr/LFSessionContext.cpp') diff --git a/cpp/lib/common/sys/apr/LFSessionContext.cpp b/cpp/lib/common/sys/apr/LFSessionContext.cpp index a06b7537ee..8a7ce18136 100644 --- a/cpp/lib/common/sys/apr/LFSessionContext.cpp +++ b/cpp/lib/common/sys/apr/LFSessionContext.cpp @@ -158,7 +158,7 @@ void LFSessionContext::close(){ void LFSessionContext::handleClose(){ handler->closed(); APRPool::free(fd.p); - std::cout << "Session closed [" << &socket << "]" << std::endl; + if (debug) std::cout << "Session closed [" << &socket << "]" << std::endl; delete handler; delete this; } -- cgit v1.2.1