diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-05-29 12:01:07 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-05-29 12:01:07 +0200 |
commit | 04399f5ebe22d4f0c228fceb6766f33a49892e38 (patch) | |
tree | 77135e44603df11bab1da7da782b64950dada361 /tools/omfile.c | |
parent | 6bc629021eb008e1d48627bdac70b1c8b237937b (diff) | |
download | rsyslog-04399f5ebe22d4f0c228fceb6766f33a49892e38.tar.gz rsyslog-04399f5ebe22d4f0c228fceb6766f33a49892e38.tar.xz rsyslog-04399f5ebe22d4f0c228fceb6766f33a49892e38.zip |
added --enable-debugless configure option for very high demanding environments
This actually at compile time disables a lot of debug code, resulting
in some speedup (but serious loss of debugging capabilities)
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 68222883..0b20b1f6 100644 --- a/tools/omfile.c +++ b/tools/omfile.c @@ -647,7 +647,7 @@ doWrite(instanceData *pData, uchar *pszBuf, int lenBuf) ASSERT(pData != NULL); ASSERT(pszBuf != NULL); -dbgprintf("write to stream, pData->pStrm %p, lenBuf %d\n", pData->pStrm, lenBuf); + DBGPRINTF("write to stream, pData->pStrm %p, lenBuf %d\n", pData->pStrm, lenBuf); if(pData->pStrm != NULL){ CHKiRet(strm.Write(pData->pStrm, pszBuf, lenBuf)); FINALIZE; |