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"); } }