Fixed bug not receiving stats properly.
This commit is contained in:
parent
62cd774288
commit
15498f6cdc
1 changed files with 1 additions and 2 deletions
|
@ -254,8 +254,7 @@ namespace Buffer{
|
||||||
StatsSocket = Socket::Connection("/tmp/ddv_statistics", true);
|
StatsSocket = Socket::Connection("/tmp/ddv_statistics", true);
|
||||||
}
|
}
|
||||||
if (StatsSocket.connected()){
|
if (StatsSocket.connected()){
|
||||||
StatsSocket.write(Storage.toStyledString());
|
StatsSocket.write(Storage.toStyledString()+"\n\n");
|
||||||
std::cout << "Wrote stats to controller!" << std::endl;
|
|
||||||
Storage["log"].clear();
|
Storage["log"].clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue