From 274fffa609d1830f4a5e57e0eaf1e4970a90be15 Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Thu, 3 Nov 2016 14:16:07 +0100 Subject: [PATCH] progress bug --- slsReceiverSoftware/src/UDPStandardImplementation.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/slsReceiverSoftware/src/UDPStandardImplementation.cpp b/slsReceiverSoftware/src/UDPStandardImplementation.cpp index 654f98059..33298c5ec 100644 --- a/slsReceiverSoftware/src/UDPStandardImplementation.cpp +++ b/slsReceiverSoftware/src/UDPStandardImplementation.cpp @@ -1576,8 +1576,6 @@ int UDPStandardImplementation::createNewFile(int ithread){ frameNumberInPreviousFile[ithread] = -1; //printf("Thread:%d File:%s\n",ithread,completeFileName[ithread]); }else{ - if(frameNumberInPreviousFile[ithread] == -1) - frameNumberInPreviousFile[ithread] = startFrameIndex -1; printf("\nThread:%d File:%s\n" //"\ttotalpacketsinfile:%d\t" @@ -2236,7 +2234,7 @@ int UDPStandardImplementation::prepareAndListenBuffer(int ithread, int cSize, ch -void UDPStandardImplementation::startFrameIndices(int ithread){cprintf(RED,"at startframeindeices\n"); +void UDPStandardImplementation::startFrameIndices(int ithread){ FILE_LOG(logDEBUG) << __AT__ << " called"; //determine startFrameIndex @@ -2733,8 +2731,6 @@ void UDPStandardImplementation::stopWriting(int ithread, char* wbuffer){ } if(totalWritingPacketCount[ithread]){ - if(frameNumberInPreviousFile[ithread]==-1) - frameNumberInPreviousFile[ithread] = startFrameIndex-1; printf("\nThread:%d File:%s\n" "\ttotalpacketsinfile:%d\t"