diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-17 12:46:57 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-17 12:46:57 +0200 |
commit | 60309004dfc57c3243abb2f01042950201596773 (patch) | |
tree | 707b9fbe0e4cc00133611701af0999c1bdacfbfc /plugins/immark | |
parent | e5130affc022eff12a3d9584576a385edbb13465 (diff) | |
download | rsyslog-60309004dfc57c3243abb2f01042950201596773.tar.gz rsyslog-60309004dfc57c3243abb2f01042950201596773.tar.xz rsyslog-60309004dfc57c3243abb2f01042950201596773.zip |
completed better modularity of runtime
- added the ability to specify an error log function for the
runtime
- removed dependency of core runtime on dirty.h
Note that it is "better" modularity, not perfect. There is still
work to do, but I think we can for the time being proceed with
other things.
Diffstat (limited to 'plugins/immark')
-rw-r--r-- | plugins/immark/immark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/immark/immark.c b/plugins/immark/immark.c index 1907bb25..ebdcabe9 100644 --- a/plugins/immark/immark.c +++ b/plugins/immark/immark.c @@ -75,7 +75,7 @@ CODESTARTrunInput * rgerhards, 2007-12-17 */ CHKiRet(thrdSleep(pThrd, iMarkMessagePeriod, 0)); /* seconds, micro seconds */ - logmsgInternal(LOG_INFO, "-- MARK --", ADDDATE|MARK); + logmsgInternal(LOG_INFO, (uchar*)"-- MARK --", ADDDATE|MARK); } finalize_it: return iRet; |