Fix rest of Erik stuff.

This commit is contained in:
Thulinma 2013-10-17 13:04:30 +02:00
parent 50b15bb0d6
commit e6556b0783

View file

@ -73,7 +73,10 @@ namespace Controller {
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);
int out = 1;
int err = 2;
Util::Procs::StartPiped("MistFixer", tmp_cmd, 0, &out, &err);
data.removeMember("meta");
}
if (Util::epoch() - lastBuffer[name] > 5){
data["error"] = "Available";