diff options
author | Alan Conway <aconway@apache.org> | 2009-05-20 18:19:44 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-05-20 18:19:44 +0000 |
commit | b7b99eb789e893cbf0ff6bbf0b157d37d302f95f (patch) | |
tree | c18896a0f74f0b13c0b4d6f6a05e45d00a5b1ad9 /cpp/src/qpid/cluster/ClusterSettings.h | |
parent | 2ee35df0444e52ba7e24d8817110adbeaacb9e52 (diff) | |
download | qpid-python-b7b99eb789e893cbf0ff6bbf0b157d37d302f95f.tar.gz |
Add missing null body check in ErrorCheck
Make error checking optional.
This is temporary until all issues with it are worked out.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@776799 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/ClusterSettings.h')
-rw-r--r-- | cpp/src/qpid/cluster/ClusterSettings.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/ClusterSettings.h b/cpp/src/qpid/cluster/ClusterSettings.h index 6b4a0b531c..8ae77cd807 100644 --- a/cpp/src/qpid/cluster/ClusterSettings.h +++ b/cpp/src/qpid/cluster/ClusterSettings.h @@ -34,8 +34,11 @@ struct ClusterSettings { bool quorum; size_t readMax, writeEstimate, writeMin; std::string username, password, mechanism; + bool checkErrors; - ClusterSettings() : quorum(false), readMax(10), writeEstimate(1), writeMin(1) {} + ClusterSettings() : quorum(false), readMax(10), writeEstimate(1), writeMin(1), + checkErrors(true) // FIXME aconway 2009-05-20: temporary + {} Url getUrl(uint16_t port) const { if (url.empty()) return Url::getIpAddressesUrl(port); |