summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/omfile.c2
-rw-r--r--tools/syslogd.c21
2 files changed, 1 insertions, 22 deletions
diff --git a/tools/omfile.c b/tools/omfile.c
index d1274f1b..689bad0c 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -776,7 +776,7 @@ doFlush(instanceData *pData)
if(pData->poBuf->iBuf == 0)
FINALIZE; /* nothing to write, but make this a valid case */
- if(1) { // zlib enabled!
+ if(0) { // zlib enabled!
CHKiRet(doZipWrite(pData));
} else {
CHKiRet(doPhysWrite(pData, pData->poBuf->fd, (char*)pData->poBuf->pszBuf, pData->poBuf->iBuf));
diff --git a/tools/syslogd.c b/tools/syslogd.c
index b43b7a37..22cb6879 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -136,7 +136,6 @@
#include "errmsg.h"
#include "datetime.h"
#include "parser.h"
-#include "sysvar.h"
#include "unicode-helper.h"
/* definitions for objects we access */
@@ -3340,26 +3339,6 @@ GlobalClassExit(void)
objRelease(datetime, CORE_COMPONENT);
/* TODO: implement the rest of the deinit */
-#if 0
- CHKiRet(datetimeClassInit(NULL));
- CHKiRet(msgClassInit(NULL));
- CHKiRet(strmClassInit(NULL));
- CHKiRet(wtiClassInit(NULL));
- CHKiRet(wtpClassInit(NULL));
- CHKiRet(qqueueClassInit(NULL));
- CHKiRet(vmstkClassInit(NULL));
- CHKiRet(sysvarClassInit(NULL));
- CHKiRet(vmClassInit(NULL));
- CHKiRet(vmopClassInit(NULL));
- CHKiRet(vmprgClassInit(NULL));
- CHKiRet(ctok_tokenClassInit(NULL));
- CHKiRet(ctokClassInit(NULL));
- CHKiRet(exprClassInit(NULL));
-
- /* dummy "classes" */
- CHKiRet(actionClassInit());
- CHKiRet(templateInit());
-#endif
/* dummy "classes */
strExit();