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:
4
exeman.c
4
exeman.c
@ -24,7 +24,6 @@
|
||||
#include "exeman.i"
|
||||
#include "exeman.h"
|
||||
#include "sicshipadaba.h"
|
||||
#include "commandlog.h"
|
||||
#include "protocol.h"
|
||||
/*-------------------------------------------------------------------*/
|
||||
static void KillExeMan(void *data)
|
||||
@ -320,8 +319,7 @@ static int SCHdbWrite(SConnection * self, char *message, int outCode)
|
||||
v.dataType = HIPTEXT;
|
||||
val = CreateDynString(128, 128);
|
||||
if (val == NULL) {
|
||||
WriteToCommandLog("INTERNAL ERROR>>",
|
||||
"No memory to append to log in SCHdbWrite");
|
||||
Log(ERROR,"sys","%s", "No memory to append to log in SCHdbWrite");
|
||||
return 0;
|
||||
}
|
||||
if (v.v.text != NULL) {
|
||||
|
Reference in New Issue
Block a user