summaryrefslogtreecommitdiff
path: root/cpp/lib/common/sys/apr/LFSessionContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/lib/common/sys/apr/LFSessionContext.cpp')
-rw-r--r--cpp/lib/common/sys/apr/LFSessionContext.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}