.c_str() must not access global variables from thread

This commit is contained in:
Dhanya Maliakal 2017-04-07 14:57:19 +02:00
parent f0198d2d2e
commit 7c725cc69b

View File

@ -2523,8 +2523,7 @@ uint32_t UDPStandardImplementation::processListeningBuffer(int ithread, int &cSi
break; break;
default: default:
cprintf(RED,"Listening_Thread %d: Error: This detector %s is not implemented in the receiver\n", cprintf(RED,"Listening_Thread %d: Error: This detector is not implemented in the receiver\n", ithread);
ithread, getDetectorType(myDetectorType).c_str());
break; break;
} }