more print for error in basictests

This commit is contained in:
2021-11-09 10:19:43 +01:00
parent 717d68c217
commit 3167aade45

View File

@ -92,14 +92,16 @@ void init_detector() {
#ifdef EIGERD #ifdef EIGERD
udpDetails[0].dstport2 = DEFAULT_UDP_DST_PORTNO + 1; udpDetails[0].dstport2 = DEFAULT_UDP_DST_PORTNO + 1;
#endif #endif
lockStatus = 0;
if (isControlServer) { if (isControlServer) {
basictests(); basictests();
char *message = NULL;
if (getInitResult(&message) == OK) {
initControlServer(); initControlServer();
} else }
} else {
initStopServer(); initStopServer();
strcpy(mess, "dummy message"); }
lockStatus = 0;
} }
int decode_function(int file_des) { int decode_function(int file_des) {