From fed17eb8ebc54d3fe521258d2b60d9cb24934889 Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Wed, 3 Feb 2016 11:26:18 +0100 Subject: [PATCH] modified color of printout --- slsReceiverSoftware/src/UDPStandardImplementation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slsReceiverSoftware/src/UDPStandardImplementation.cpp b/slsReceiverSoftware/src/UDPStandardImplementation.cpp index 89bff743b..60893deea 100644 --- a/slsReceiverSoftware/src/UDPStandardImplementation.cpp +++ b/slsReceiverSoftware/src/UDPStandardImplementation.cpp @@ -1501,7 +1501,7 @@ void UDPStandardImplementation::startListening(){ //udpsocket doesnt exist if(udpSocket[ithread] == NULL){ - FILE_LOG(logERROR) << "Listening_Thread " << ithread << ": UDP Socket not created"; + FILE_LOG(logERROR) << "Listening_Thread " << ithread << ": UDP Socket not created or shut down earlier"; stopListening(ithread,0); continue; } @@ -2461,7 +2461,7 @@ void UDPStandardImplementation::stopWriting(int ithread, char* wbuffer[]){ //statistics FILE_LOG(logINFO) << "Status: Run Finished"; - if(numTotMissingPackets){ + if(totalPacketsCaught != (numberOfFrames*packetsPerFrame)){ cprintf(RED, "Total Missing Packets padded: %d\n",numTotMissingPackets); cprintf(RED, "Total Packets Caught: %lld\n",(long long int)totalPacketsCaught); cprintf(RED, "Total Frames Caught: %lld\n",(long long int)(totalPacketsCaught/packetsPerFrame));