From e912e7dce71ed65b36169b9504a33460e89d69b7 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Sun, 4 Dec 2011 20:59:13 +0100 Subject: [PATCH] Fixed bug receiving stats in Controller --- DDV_Controller/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DDV_Controller/main.cpp b/DDV_Controller/main.cpp index a81208c6..290e9023 100644 --- a/DDV_Controller/main.cpp +++ b/DDV_Controller/main.cpp @@ -461,7 +461,7 @@ int main(int argc, char ** argv){ } } } - it->Received().erase(newlines+2); + it->Received().erase(0, newlines+2); newlines = it->Received().find("\n\n"); } }