From 09c853ae267ba0a9b37400284aafb15681dc6dcd Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Thu, 20 Oct 2016 07:55:56 +0200 Subject: [PATCH] fixed the print file packet loss progress bug --- .../src/UDPStandardImplementation.cpp | 47 ++++++++++++------- 1 file changed, 31 insertions(+), 16 deletions(-) diff --git a/slsReceiverSoftware/src/UDPStandardImplementation.cpp b/slsReceiverSoftware/src/UDPStandardImplementation.cpp index 02a50018a..4f6ee79ae 100644 --- a/slsReceiverSoftware/src/UDPStandardImplementation.cpp +++ b/slsReceiverSoftware/src/UDPStandardImplementation.cpp @@ -1373,8 +1373,10 @@ int UDPStandardImplementation::createNewFile(){ FILE_LOG(logDEBUG) << __AT__ << " called"; int index = 0; - if(packetsCaught) + if(packetsCaught){ index = frameIndex; + cout << endl << "File:" << completeFileName <