Small fix in converter api

This commit is contained in:
Erik Zandvliet 2013-08-26 15:15:44 +02:00
parent dbddd18f1e
commit d78e91b2bd

View file

@ -63,7 +63,8 @@ namespace Converter {
JSON::Value Converter::queryPath(std::string myPath){
std::vector<char*> cmd;
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);
fprintf( stderr, "Querying %s\n", myPath.c_str());