deleting socket and insignificant changes

This commit is contained in:
Dhanya Maliakal
2017-05-08 15:08:59 +02:00
parent 8471765e30
commit 95bf19a417

View File

@ -63,6 +63,7 @@ Listener::Listener(Fifo*& f, runStatus* s, uint32_t* portno, char* e, int* act,
Listener::~Listener() { Listener::~Listener() {
if (udpSocket) delete udpSocket;
if (carryOverPacket) delete carryOverPacket; if (carryOverPacket) delete carryOverPacket;
if (listeningPacket) delete listeningPacket; if (listeningPacket) delete listeningPacket;
ThreadObject::DestroyThread(); ThreadObject::DestroyThread();
@ -166,10 +167,10 @@ void Listener::RecordFirstIndices(uint64_t fnum) {
acquisitionStartedFlag = true; acquisitionStartedFlag = true;
firstAcquisitionIndex = fnum; firstAcquisitionIndex = fnum;
} }
if (!index) cprintf(BLUE,"%d First Acquisition Index:%lld\n" if (!index) cprintf(BLUE,"%d First Acquisition Index:%lu\n"
"%d First Measurement Index:%lld\n", "%d First Measurement Index:%lu\n",
index, (long long int)firstAcquisitionIndex, index, firstAcquisitionIndex,
index, (long long int)firstMeasurementIndex); index, firstMeasurementIndex);
} }