From 15498f6cdcbfcc589b59cb2ef1aab613eb3e7919 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Sun, 4 Dec 2011 20:54:38 +0100 Subject: [PATCH] Fixed bug not receiving stats properly. --- Buffer/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Buffer/main.cpp b/Buffer/main.cpp index b9b080bb..b822f067 100644 --- a/Buffer/main.cpp +++ b/Buffer/main.cpp @@ -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(); } }