diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-04 12:15:59 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-04 12:15:59 +0200 |
commit | 9e434f19a9baa4a6f411808b5cb6bc22d6a32781 (patch) | |
tree | 36b6ee12c665a9eb781e1984d479002bf4680ef1 /tools/omfile.c | |
parent | 768836ab79268e1091fc3af8bb920c03287db91a (diff) | |
download | rsyslog-9e434f19a9baa4a6f411808b5cb6bc22d6a32781.tar.gz rsyslog-9e434f19a9baa4a6f411808b5cb6bc22d6a32781.tar.xz rsyslog-9e434f19a9baa4a6f411808b5cb6bc22d6a32781.zip |
cleaned up stream class ...
... and also made it callable via an rsyslog interface rather then
relying on the OS loader (important if we go for using it inside
loadbale modules, which we soon possible will)
Diffstat (limited to 'tools/omfile.c')
-rw-r--r-- | tools/omfile.c | 2 |
1 files changed, 1 insertions, 1 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)); |