From 7c725cc69b1ba2deb0f825d21066d34ae229c65a Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Fri, 7 Apr 2017 14:57:19 +0200 Subject: [PATCH] .c_str() must not access global variables from thread --- slsReceiverSoftware/src/UDPStandardImplementation.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/slsReceiverSoftware/src/UDPStandardImplementation.cpp b/slsReceiverSoftware/src/UDPStandardImplementation.cpp index d26ec75ca..6075e0666 100644 --- a/slsReceiverSoftware/src/UDPStandardImplementation.cpp +++ b/slsReceiverSoftware/src/UDPStandardImplementation.cpp @@ -2523,8 +2523,7 @@ uint32_t UDPStandardImplementation::processListeningBuffer(int ithread, int &cSi break; default: - cprintf(RED,"Listening_Thread %d: Error: This detector %s is not implemented in the receiver\n", - ithread, getDetectorType(myDetectorType).c_str()); + cprintf(RED,"Listening_Thread %d: Error: This detector is not implemented in the receiver\n", ithread); break; }