Merge branch 'develop' into pf_api

This commit is contained in:
JoelKatz
2013-05-01 22:23:25 -07:00
4 changed files with 8 additions and 4 deletions

View File

@@ -6,6 +6,7 @@
#include <boost/foreach.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/pointer_cast.hpp>
#include "Pathfinder.h"
#include "Log.h"
@@ -2806,7 +2807,7 @@ Json::Value RPCHandler::doSubscribe(Json::Value jvRequest, int& cost, ScopedLock
cLog(lsDEBUG) << boost::str(boost::format("doSubscribe: building: %s") % strUrl);
RPCSub::pointer rspSub = boost::make_shared<RPCSub>(strUrl, strUsername, strPassword);
ispSub = mNetOps->addRpcSub(strUrl, boost::shared_polymorphic_downcast<InfoSub>(rspSub));
ispSub = mNetOps->addRpcSub(strUrl, boost::dynamic_pointer_cast<InfoSub>(rspSub));
}
else
{