Some more fine tuning of log output

Corrected a misleading warning in motorsec.c
Fixed a core dump caused by copyNode in sicsdata.c. Was caused by a bad call
to getPointer.
This commit is contained in:
2016-05-10 11:29:09 +02:00
parent e476d19040
commit 7f6b31e098
4 changed files with 4 additions and 5 deletions

View File

@ -307,7 +307,7 @@ SConnection *SCCreateDummyConnection(SicsInterp * pSics)
pRes->iUserRights = usInternal;
pRes->iGrab = 0;
Log(INFO,"SYS","%s","Accepted dummy connection ");
/* Log(INFO,"SYS","%s","Accepted dummy connection "); */
return pRes;
}
@ -837,7 +837,7 @@ static void testAndWriteLog(SConnection * self, char *buffer, int iOut)
}else if(strstr(buffer,"WARNING") != NULL) {
Log(WARN,"notify",buffer);
} else {
Log(INFO,"notify",buffer);
Log(DEBUG,"notify",buffer);
}
break;
case eHdbEvent: