Small fix in converter api
This commit is contained in:
parent
dbddd18f1e
commit
d78e91b2bd
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,8 @@ namespace Converter {
|
||||||
JSON::Value Converter::queryPath(std::string myPath){
|
JSON::Value Converter::queryPath(std::string myPath){
|
||||||
std::vector<char*> cmd;
|
std::vector<char*> cmd;
|
||||||
cmd.reserve(3);
|
cmd.reserve(3);
|
||||||
cmd.push_back((char*)"MistInfo");
|
std::string mistPath = Util::getMyPath() + "MistInfo";
|
||||||
|
cmd.push_back((char*)mistPath.c_str());
|
||||||
cmd.push_back(NULL);
|
cmd.push_back(NULL);
|
||||||
cmd.push_back(NULL);
|
cmd.push_back(NULL);
|
||||||
fprintf( stderr, "Querying %s\n", myPath.c_str());
|
fprintf( stderr, "Querying %s\n", myPath.c_str());
|
||||||
|
|
Loading…
Add table
Reference in a new issue