summaryrefslogtreecommitdiffstats
path: root/tools/omfile.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-07-02 17:06:00 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-07-02 17:06:00 +0200
commitb37a1eb0f8422102c11c597f15139d64c2d51c13 (patch)
treef581869c5996b7e203e41a38a11cce2724fca7a9 /tools/omfile.c
parentf0467569d26ad7eafddb324690a55001143f9d91 (diff)
downloadrsyslog-b37a1eb0f8422102c11c597f15139d64c2d51c13.tar.gz
rsyslog-b37a1eb0f8422102c11c597f15139d64c2d51c13.tar.xz
rsyslog-b37a1eb0f8422102c11c597f15139d64c2d51c13.zip
omfile itself no longer needs zlib
Diffstat (limited to 'tools/omfile.c')
-rw-r--r--tools/omfile.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/omfile.c b/tools/omfile.c
index b62d9c57..82944a96 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -65,7 +65,6 @@
#include "module-template.h"
#include "errmsg.h"
#include "stream.h"
-#include "zlibw.h"
#include "unicode-helper.h"
MODULE_TYPE_OUTPUT
@@ -74,7 +73,6 @@ MODULE_TYPE_OUTPUT
*/
DEF_OMOD_STATIC_DATA
DEFobjCurrIf(errmsg)
-DEFobjCurrIf(zlibw)
DEFobjCurrIf(strm)
/* The following structure is a dynafile name cache entry.
@@ -745,7 +743,6 @@ BEGINmodExit
CODESTARTmodExit
objRelease(errmsg, CORE_COMPONENT);
objRelease(strm, CORE_COMPONENT);
- objRelease(zlibw, LM_ZLIBW_FILENAME);
free(pszTplName);
ENDmodExit
@@ -762,7 +759,6 @@ CODESTARTmodInit
*ipIFVersProvided = CURR_MOD_IF_VERSION; /* we only support the current interface specification */
CODEmodInit_QueryRegCFSLineHdlr
CHKiRet(objUse(errmsg, CORE_COMPONENT));
- CHKiRet(objUse(zlibw, LM_ZLIBW_FILENAME));
CHKiRet(objUse(strm, CORE_COMPONENT));
CHKiRet(omsdRegCFSLineHdlr((uchar *)"dynafilecachesize", 0, eCmdHdlrInt, (void*) setDynaFileCacheSize, NULL, STD_LOADABLE_MODULE_ID));
CHKiRet(omsdRegCFSLineHdlr((uchar *)"omfileziplevel", 0, eCmdHdlrInt, NULL, &iZipLevel, STD_LOADABLE_MODULE_ID));