summaryrefslogtreecommitdiffstats
path: root/tools/omfwd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-18 11:10:28 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-18 11:10:28 +0200
commitbca66bc1399d1b9bcc370c64b5a8befb2244695d (patch)
tree19619f6a03d09b8d4aa58123451e5f4ebc603dd7 /tools/omfwd.c
parent7f78b2ef65634d4320325cca4793caa3d50ef777 (diff)
downloadrsyslog-bca66bc1399d1b9bcc370c64b5a8befb2244695d.tar.gz
rsyslog-bca66bc1399d1b9bcc370c64b5a8befb2244695d.tar.xz
rsyslog-bca66bc1399d1b9bcc370c64b5a8befb2244695d.zip
some minor bugfixes
- bugfix: invalid error message issued if $inlcudeConfig was on an empty set of files (e.g. *.conf, where none such files existed) thanks to Michael Biebl for reporting this bug - bugfix: when run in foreground (but not in debug mode), a debug message ("DoDie called") was emitted at shutdown. Removed. thanks to Michael Biebl for reporting this bug - bugfix: some garbagge was emitted to stderr on shutdown. This garbage consisted of file names, which were written during startup (key point: not a pointer error) thanks to Michael Biebl for reporting this bug - bugfix: startup and shutdown message were emitted to stdout thanks to Michael Biebl for reporting this bug
Diffstat (limited to 'tools/omfwd.c')
-rw-r--r--tools/omfwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/omfwd.c b/tools/omfwd.c
index 1dd184ef..e62f84b7 100644
--- a/tools/omfwd.c
+++ b/tools/omfwd.c
@@ -177,7 +177,7 @@ ENDfreeInstance
BEGINdbgPrintInstInfo
CODESTARTdbgPrintInstInfo
- printf("%s", pData->f_hname);
+ dbgprintf("%s", pData->f_hname);
ENDdbgPrintInstInfo