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);
|
||||
}
|
||||
if (StatsSocket.connected()){
|
||||
StatsSocket.write(Storage.toStyledString());
|
||||
std::cout << "Wrote stats to controller!" << std::endl;
|
||||
StatsSocket.write(Storage.toStyledString()+"\n\n");
|
||||
Storage["log"].clear();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue