diff options
Diffstat (limited to 'qpid/cpp/src/qpid/broker/PreviewConnection.cpp')
-rw-r--r-- | qpid/cpp/src/qpid/broker/PreviewConnection.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/qpid/cpp/src/qpid/broker/PreviewConnection.cpp b/qpid/cpp/src/qpid/broker/PreviewConnection.cpp index 6f411c99d6..ad4497b24e 100644 --- a/qpid/cpp/src/qpid/broker/PreviewConnection.cpp +++ b/qpid/cpp/src/qpid/broker/PreviewConnection.cpp @@ -18,9 +18,6 @@ * under the License. * */ - -#include "config.h" - #include "PreviewConnection.h" #include "SessionState.h" #include "BrokerAdapter.h" @@ -39,10 +36,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 +87,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 +109,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){ |