mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
.
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>BOOST_TEST_NO_MAIN;_CRT_SECURE_NO_WARNINGS;_WIN32_WINNT=0x0501;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions>BOOST_TEST_ALTERNATIVE_INIT_API;BOOST_TEST_NO_MAIN;_CRT_SECURE_NO_WARNINGS;_WIN32_WINNT=0x0501;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\OpenSSL\include;..\boost_1_47_0;..\protobuf-2.4.1\src\</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
|
||||
@@ -557,7 +557,7 @@ Json::Value RPCServer::doLedger(Json::Value& params)
|
||||
|
||||
int paramCount = getParamCount(params);
|
||||
|
||||
if (paramCount == 0);
|
||||
if (paramCount == 0)
|
||||
{
|
||||
Json::Value ret(Json::objectValue), current(Json::objectValue), closed(Json::objectValue);
|
||||
theApp->getMasterLedger().getCurrentLedger()->addJson(current);
|
||||
|
||||
@@ -70,10 +70,10 @@ int main(int argc, char* argv[])
|
||||
("help,h", "Display this message.")
|
||||
("rpc", "Perform rpc command (default).")
|
||||
("test,t", "Perform unit tests.")
|
||||
("parameters", po::value< vector<string> >(), "Specify comma seperated parameters.")
|
||||
("parameters", po::value< vector<string> >(), "Specify comma separated parameters.")
|
||||
;
|
||||
|
||||
// Interpert positional arguments as --parameters.
|
||||
// Interpret positional arguments as --parameters.
|
||||
po::positional_options_description p;
|
||||
p.add("parameters", -1);
|
||||
|
||||
@@ -124,7 +124,7 @@ int main(int argc, char* argv[])
|
||||
pvCmd.push_back(const_cast<char*>(param.c_str()));
|
||||
}
|
||||
|
||||
// iResult = unit_test_main(init_unit_test, iCmd, &pvCmd[0]);
|
||||
iResult = unit_test_main(init_unit_test, iCmd, &pvCmd[0]);
|
||||
}
|
||||
else if (!vm.count("parameters"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user