summaryrefslogtreecommitdiffstats
path: root/omfwd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-25 10:52:47 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-25 10:52:47 +0000
commit36f1b6d7f97c0dd6e96c05876ee7ddeaa5a0a3d5 (patch)
tree0dc4db7ed2fd7ffa5efba0c4ee246088a91ea2ab /omfwd.c
parenta3192ac18ed9df7d95d0c8d5795994e867c85eca (diff)
downloadrsyslog-36f1b6d7f97c0dd6e96c05876ee7ddeaa5a0a3d5.tar.gz
rsyslog-36f1b6d7f97c0dd6e96c05876ee7ddeaa5a0a3d5.tar.xz
rsyslog-36f1b6d7f97c0dd6e96c05876ee7ddeaa5a0a3d5.zip
added new function dbgPrintInstInfo() to omod interface
Diffstat (limited to 'omfwd.c')
-rw-r--r--omfwd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/omfwd.c b/omfwd.c
index e1b20464..0b1db927 100644
--- a/omfwd.c
+++ b/omfwd.c
@@ -99,6 +99,12 @@ CODESTARTfreeInstance
ENDfreeInstance
+BEGINdbgPrintInstInfo
+CODESTARTdbgPrintInstInfo
+ printf("%s", f->f_un.f_forw.f_hname);
+ENDdbgPrintInstInfo
+
+
BEGINdoAction
char *psz; /* temporary buffering */
register unsigned l;