summaryrefslogtreecommitdiffstats
path: root/plugins/imdiag
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-05-27 12:52:28 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-05-27 12:52:28 +0200
commitaffa217cc2d22fa8037a50b8d40d3372694ff855 (patch)
treecc330c7bca3053117bab0855dcf0e6fc0d2e4bec /plugins/imdiag
parent33316de49b7775ac40dd0ec0f4b7ff6256ccde78 (diff)
downloadrsyslog-affa217cc2d22fa8037a50b8d40d3372694ff855.tar.gz
rsyslog-affa217cc2d22fa8037a50b8d40d3372694ff855.tar.xz
rsyslog-affa217cc2d22fa8037a50b8d40d3372694ff855.zip
adapted testbench to new capabilities
... and now make check fails again, we have obviously found some new bugs thanks to the additional cases
Diffstat (limited to 'plugins/imdiag')
-rw-r--r--plugins/imdiag/imdiag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imdiag/imdiag.c b/plugins/imdiag/imdiag.c
index c700cab7..03396db7 100644
--- a/plugins/imdiag/imdiag.c
+++ b/plugins/imdiag/imdiag.c
@@ -243,7 +243,7 @@ injectMsg(uchar *pszCmd, tcps_sess_t *pSess)
doInjectMsg(i + iFrom);
}
- CHKiRet(sendResponse(pSess, "messages injected\n"));
+ CHKiRet(sendResponse(pSess, "%d messages injected\n", nMsgs));
finalize_it:
RETiRet;