diff options
author | Gordon Sim <gsim@apache.org> | 2008-04-14 13:57:36 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2008-04-14 13:57:36 +0000 |
commit | 88fd894652067d48d9b1988d36ee081ae46f365f (patch) | |
tree | db5dcd4db28aad2a37c1d442015b6a816982939b /cpp/src/qpid/broker/PreviewConnection.cpp | |
parent | f58096364147d54676f520efc003c58fa7897d0f (diff) | |
download | qpid-python-88fd894652067d48d9b1988d36ee081ae46f365f.tar.gz |
QPID-648: keep the sasl_conn member in the handler to avoid the need for friend declaration
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@647800 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/PreviewConnection.cpp')
-rw-r--r-- | cpp/src/qpid/broker/PreviewConnection.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/cpp/src/qpid/broker/PreviewConnection.cpp b/cpp/src/qpid/broker/PreviewConnection.cpp index 6f411c99d6..56de374b4d 100644 --- a/cpp/src/qpid/broker/PreviewConnection.cpp +++ b/cpp/src/qpid/broker/PreviewConnection.cpp @@ -39,10 +39,6 @@ #include <iostream> #include <assert.h> -#if HAVE_SASL -#include <sasl/sasl.h> -#endif - using namespace boost; using namespace qpid::sys; using namespace qpid::framing; @@ -94,9 +90,6 @@ public: PreviewConnection::PreviewConnection(ConnectionOutputHandler* out_, Broker& broker_, const std::string& mgmtId_, bool isLink) : ConnectionState(out_, broker_), -#if HAVE_SASL - sasl_conn(NULL), -#endif adapter(*this, isLink), mgmtClosing(false), mgmtId(mgmtId_) @@ -119,12 +112,6 @@ PreviewConnection::PreviewConnection(ConnectionOutputHandler* out_, Broker& brok } PreviewConnection::~PreviewConnection () { -#if HAVE_LIBSASL2 - if (NULL != sasl_conn) { - sasl_dispose(&sasl_conn); - sasl_conn = NULL; - } -#endif } void PreviewConnection::received(framing::AMQFrame& frame){ |