summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2009-02-12 09:52:00 +0100
committerBenoit Foucher <benoit@zeroc.com>2009-02-12 09:52:00 +0100
commit162b65c1e94f2b5358912bc2dce7a4c08cb1d5f3 (patch)
treef3d970d28612a1b760c28d844dae67d062269a0d /cpp/src
parentMinor fix to fix for bug 3718 (diff)
downloadice-162b65c1e94f2b5358912bc2dce7a4c08cb1d5f3.tar.bz2
ice-162b65c1e94f2b5358912bc2dce7a4c08cb1d5f3.tar.xz
ice-162b65c1e94f2b5358912bc2dce7a4c08cb1d5f3.zip
Ensure that no more fds error message is flushed before the abort
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/ConnectionFactory.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/Ice/ConnectionFactory.cpp b/cpp/src/Ice/ConnectionFactory.cpp
index b00d915aae4..31ce984e6ce 100644
--- a/cpp/src/Ice/ConnectionFactory.cpp
+++ b/cpp/src/Ice/ConnectionFactory.cpp
@@ -1280,8 +1280,10 @@ IceInternal::IncomingConnectionFactory::message(BasicStream&, const ThreadPoolPt
{
if(noMoreFds(ex.error))
{
- Error out(_instance->initializationData().logger);
- out << "fatal error: can't accept more connections:\n" << ex << '\n' << _acceptor->toString();
+ {
+ Error out(_instance->initializationData().logger);
+ out << "fatal error: can't accept more connections:\n" << ex << '\n' << _acceptor->toString();
+ }
abort();
}