From eb5f481faaf2b90891c45532a9b5f3a7093e49c9 Mon Sep 17 00:00:00 2001 From: Anna Bergamaschi Date: Thu, 29 Oct 2015 11:21:57 +0100 Subject: [PATCH] detector type bug fix --- slsReceiverSoftware/src/UDPStandardImplementation.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/slsReceiverSoftware/src/UDPStandardImplementation.cpp b/slsReceiverSoftware/src/UDPStandardImplementation.cpp index e144585be..fd4ab0c0c 100644 --- a/slsReceiverSoftware/src/UDPStandardImplementation.cpp +++ b/slsReceiverSoftware/src/UDPStandardImplementation.cpp @@ -1797,8 +1797,10 @@ void UDPStandardImplementation::processWritingBuffer(int ithread){ cprintf(GREEN,"Writing_Thread %d: Popped %p from FIFO %d\n", ithread, (void*)(wbuf[0]),0); #endif uint32_t numPackets = (uint32_t)(*((uint32_t*)wbuf[0])); - if(numPackets < 0) - cprintf(BG_RED,"Error: Negative packet numbers: %d for FIFO %d\n",numPackets,0); + cout<<"numpackets:"<