Fix rest of Erik stuff.
This commit is contained in:
parent
50b15bb0d6
commit
e6556b0783
1 changed files with 4 additions and 1 deletions
|
@ -73,7 +73,10 @@ namespace Controller {
|
||||||
std::string mistfix = Util::getMyPath() + "MistDTSCFix";
|
std::string mistfix = Util::getMyPath() + "MistDTSCFix";
|
||||||
tmp_cmd[0] = (char*)mistfix.c_str();
|
tmp_cmd[0] = (char*)mistfix.c_str();
|
||||||
tmp_cmd[1] = (char*)URL.c_str();
|
tmp_cmd[1] = (char*)URL.c_str();
|
||||||
Util::Procs::StartPiped("MistFixer", tmp_cmd, 0, 0, 0);
|
int out = 1;
|
||||||
|
int err = 2;
|
||||||
|
Util::Procs::StartPiped("MistFixer", tmp_cmd, 0, &out, &err);
|
||||||
|
data.removeMember("meta");
|
||||||
}
|
}
|
||||||
if (Util::epoch() - lastBuffer[name] > 5){
|
if (Util::epoch() - lastBuffer[name] > 5){
|
||||||
data["error"] = "Available";
|
data["error"] = "Available";
|
||||||
|
|
Loading…
Add table
Reference in a new issue