debugging

This commit is contained in:
Dhanya Maliakal 2016-11-08 11:51:02 +01:00
parent c7adfd52f2
commit a42854d9a7
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ void UDPBaseImplementation::initializeMembers(){
FILE_LOG(logDEBUG) << "Info: Initializing base members";
//**detector parameters***
myDetectorType = GENERIC;
strcpy(detHostname,"\0");
strcpy(detHostname,"");
packetsPerFrame = 0;
acquisitionPeriod = 0;
numberOfFrames = 0;

View File

@ -2526,9 +2526,9 @@ void UDPStandardImplementation::startWriting(){
threadStarted = 1;
//variable definitions
char* wbuf; //buffer popped from FIFO
char* wbuf=NULL; //buffer popped from FIFO
sfilefd[ithread] = 0; //file pointer
uint64_t nf; //for compression, number of frames
uint64_t nf=0; //for compression, number of frames
int listenfifoIndex = ithread;