summaryrefslogtreecommitdiffstats
path: root/omusrmsg.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 /omusrmsg.c
parenta3192ac18ed9df7d95d0c8d5795994e867c85eca (diff)
downloadrsyslog-36f1b6d7f97c0dd6e96c05876ee7ddeaa5a0a3d5.tar.gz
rsyslog-36f1b6d7f97c0dd6e96c05876ee7ddeaa5a0a3d5.tar.xz
rsyslog-36f1b6d7f97c0dd6e96c05876ee7ddeaa5a0a3d5.zip
added new function dbgPrintInstInfo() to omod interface
Diffstat (limited to 'omusrmsg.c')
-rw-r--r--omusrmsg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/omusrmsg.c b/omusrmsg.c
index 43b6ebe2..0d848eb2 100644
--- a/omusrmsg.c
+++ b/omusrmsg.c
@@ -76,6 +76,14 @@ CODESTARTfreeInstance
ENDfreeInstance
+BEGINdbgPrintInstInfo
+ register int i;
+CODESTARTdbgPrintInstInfo
+ for (i = 0; i < MAXUNAMES && *f->f_un.f_uname[i]; i++)
+ printf("%s, ", f->f_un.f_uname[i]);
+ENDdbgPrintInstInfo
+
+
static jmp_buf ttybuf;
static void endtty()