This is the first working version of the new logging system. Some work
in fine tuning still needs to be done. But is reasonably OK now.
This commit is contained in:
7
obdes.c
7
obdes.c
@@ -43,9 +43,8 @@
|
||||
#include "fortify.h"
|
||||
#include "obdes.h"
|
||||
#include "conman.h"
|
||||
#include "servlog.h"
|
||||
#include "hipadaba.h"
|
||||
|
||||
#include "logv2.h"
|
||||
/*-------------------------------------------------------------------------*/
|
||||
static void *DefaultGetInterface(void *pData, int iID)
|
||||
{
|
||||
@@ -102,14 +101,14 @@ pDummy CreateDummy(char *name)
|
||||
|
||||
pRes = (pDummy) malloc(sizeof(Dummy));
|
||||
if (!pRes) {
|
||||
SICSLogWrite("Out of Memory in CreateDummy", eInternal);
|
||||
Log(ERROR,"sys","Out of Memory in CreateDummy");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
pRes->pDescriptor = CreateDescriptor(name);
|
||||
if (!pRes->pDescriptor) {
|
||||
free(pRes);
|
||||
SICSLogWrite("Out of Memory in CreateDummy", eInternal);
|
||||
Log(ERROR,"sys","%s","Out of Memory in CreateDummy");
|
||||
return NULL;
|
||||
}
|
||||
return pRes;
|
||||
|
||||
Reference in New Issue
Block a user