reverse the "single pattern" in ccnx wrapper
disable ccn reconnect before the openssl bug get's fixed in ccnx code
it's parc's problem to fix the openssl bug
diff --git a/ccnx/sync-app-socket.cc b/ccnx/sync-app-socket.cc
index 22d51b9..3bc6954 100644
--- a/ccnx/sync-app-socket.cc
+++ b/ccnx/sync-app-socket.cc
@@ -29,7 +29,7 @@
{
SyncAppSocket::SyncAppSocket (const string &syncPrefix, NewDataCallback dataCallback, RemoveCallback rmCallback )
- : m_ccnxHandle (CcnxWrapper::Create ())
+ : m_ccnxHandle (new CcnxWrapper())
, m_newDataCallback(dataCallback)
, m_syncLogic (syncPrefix,
bind(&SyncAppSocket::passCallback, this, _1),
@@ -39,14 +39,13 @@
SyncAppSocket::~SyncAppSocket()
{
- CcnxWrapper::Destroy ();
}
std::string
SyncAppSocket::GetLocalPrefix()
{
// this handle is supposed to be short lived
- CcnxWrapperPtr handle = CcnxWrapper::Create();
+ CcnxWrapperPtr handle( new CcnxWrapper());
return handle->getLocalPrefix();
}