From e732dbbeabb2fc153488f70ead1da897991a33a5 Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Fri, 21 Aug 2015 10:05:29 +0200 Subject: [PATCH] should work properly --- slsDetectorCalibration/slsReceiverData.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slsDetectorCalibration/slsReceiverData.h b/slsDetectorCalibration/slsReceiverData.h index fab0d8dfa..15771c5d7 100644 --- a/slsDetectorCalibration/slsReceiverData.h +++ b/slsDetectorCalibration/slsReceiverData.h @@ -3,7 +3,7 @@ #include "slsDetectorData.h" #include - +#include // exit() template class slsReceiverData : public slsDetectorData { @@ -107,7 +107,7 @@ public: break; } else { //cprintf(BG_RED, "Too many packets for this frame! fnum:%d, pnum:%d np:%d\n",fnum,pnum,np); - cout << "Too many packets for this frame! "<< fnum << " " << pnum << endl; + cout << "Too many packets for this frame! "<< fnum << " " << pnum << endl;cprintf(BG_RED,"Exiting\n");exit(-1); retval=NULL; } } @@ -115,7 +115,7 @@ public: if (np0){ //cprintf(BG_RED, "Too few packets for this frame! fnum:%d, pnum:%d np:%d\n",fnum,pnum,np); - cout << "Too few packets for this frame! "<< fnum << " " << pnum << endl; + cout << "Too few packets for this frame! "<< fnum << " " << pnum << " " << np <