From 7eafce87f938506be41a0ab4da80775f98cf3548 Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Thu, 20 Oct 2016 08:13:42 +0200 Subject: [PATCH] fixed the print file packet loss progress bug --- .../src/UDPStandardImplementation.cpp | 42 ++++++++++++------- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/slsReceiverSoftware/src/UDPStandardImplementation.cpp b/slsReceiverSoftware/src/UDPStandardImplementation.cpp index 7e8cf4a05..79069fb02 100644 --- a/slsReceiverSoftware/src/UDPStandardImplementation.cpp +++ b/slsReceiverSoftware/src/UDPStandardImplementation.cpp @@ -1529,8 +1529,10 @@ int UDPStandardImplementation::createNewFile(int ithread){ FILE_LOG(logDEBUG) << __AT__ << " called"; int index = 0; - if(totalWritingPacketCount[ithread]) + if(totalWritingPacketCount[ithread]){ index = frameIndex[ithread]; + cout << "\nThread " << ithread << "\tFile:" << completeFileName <