This commit is contained in:
JoelKatz
2013-03-26 19:44:59 -07:00
parent 3fdfa2cb44
commit 4485c6f6d6

View File

@@ -306,7 +306,7 @@ void Config::load()
smtTmp = sectionEntries(secConfig, SECTION_RPC_STARTUP);
if (smtTmp)
{
Json::Value jvArray(Json::arrayValue);
RPC_STARTUP = Json::arrayValue;
BOOST_FOREACH(const std::string& strJson, *smtTmp)
{
@@ -316,10 +316,8 @@ void Config::load()
if (!jrReader.parse(strJson, jvCommand))
throw std::runtime_error(boost::str(boost::format("Couldn't parse [" SECTION_RPC_STARTUP "] command: %s") % strJson));
jvArray.append(jvCommand);
RPC_STARTUP.append(jvCommand);
}
RPC_STARTUP = jvArray;
}
if (sectionSingleB(secConfig, SECTION_DATABASE_PATH, DATABASE_PATH))