Fixed Erik's mistakes. Ohai Erik.

This commit is contained in:
Thulinma 2013-10-17 10:02:04 +02:00
parent 79bbe8a078
commit 50b15bb0d6
3 changed files with 8 additions and 3 deletions

View file

@ -70,8 +70,10 @@ namespace Controller {
}
if ( !DTSC::isFixed(data["meta"])){
char * tmp_cmd[3] = {0, 0, 0};
std::string mistfix = Util::getMyPath() + "MistDTSCFix " + URL;
Util::Procs::Start("MistFixer", mistfix);
std::string mistfix = Util::getMyPath() + "MistDTSCFix";
tmp_cmd[0] = (char*)mistfix.c_str();
tmp_cmd[1] = (char*)URL.c_str();
Util::Procs::StartPiped("MistFixer", tmp_cmd, 0, 0, 0);
}
if (Util::epoch() - lastBuffer[name] > 5){
data["error"] = "Available";