From 839896c7e688f6c3fdd49593e4aa71fe65ade383 Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Wed, 19 Oct 2016 15:53:26 +0200 Subject: [PATCH] fixed the print file packet loss progress bug --- .../src/UDPStandardImplementation.cpp | 49 +++++++++++++------ 1 file changed, 34 insertions(+), 15 deletions(-) diff --git a/slsReceiverSoftware/src/UDPStandardImplementation.cpp b/slsReceiverSoftware/src/UDPStandardImplementation.cpp index d64692b65..bb758f679 100644 --- a/slsReceiverSoftware/src/UDPStandardImplementation.cpp +++ b/slsReceiverSoftware/src/UDPStandardImplementation.cpp @@ -1359,9 +1359,12 @@ int UDPStandardImplementation::setupWriter(){ int UDPStandardImplementation::createNewFile(){ FILE_LOG(logDEBUG) << __AT__ << " called"; + int index = 0; - if(packetsCaught) + if(packetsCaught){ index = frameIndex; + cout << endl << "File:" << completeFileName <