summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Daemon.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-08-05 19:29:09 +0000
committerAlan Conway <aconway@apache.org>2008-08-05 19:29:09 +0000
commitb5f8cf1bd9b5652e2691d6bc5b9b1c3228f53d68 (patch)
tree3c74eaf22c916844bea3b130a8ee6bd2635261d7 /cpp/src/qpid/broker/Daemon.cpp
parentbd47fd629bb2356df93af70b174a6a070f3a58cc (diff)
downloadqpid-python-b5f8cf1bd9b5652e2691d6bc5b9b1c3228f53d68.tar.gz
Fix Cluster::send encode race.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@682885 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Daemon.cpp')
-rw-r--r--cpp/src/qpid/broker/Daemon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Daemon.cpp b/cpp/src/qpid/broker/Daemon.cpp
index 89d0e20a2b..c311730f76 100644
--- a/cpp/src/qpid/broker/Daemon.cpp
+++ b/cpp/src/qpid/broker/Daemon.cpp
@@ -121,7 +121,7 @@ uint16_t Daemon::wait(int timeout) { // parent waits for child.
FD_ZERO(&fds);
FD_SET(pipeFds[0], &fds);
int n=select(FD_SETSIZE, &fds, 0, 0, &tv);
- if(n==0) throw ErrnoException("Timed out waiting for daemon");
+ if(n==0) throw Exception("Timed out waiting for daemon");
if(n<0) throw ErrnoException("Error waiting for daemon");
uint16_t port = 0;
/*