summaryrefslogtreecommitdiffstats
path: root/plugins/imklog
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-11 17:33:13 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-11 17:33:13 +0200
commit890f782323849b2ae01cd705312d54a4a0e348fe (patch)
tree220604babca36e229cc64e9926ff9ebb44f694cd /plugins/imklog
parenta7860f4dab1afcf94698bc2f52413e94eed64b52 (diff)
downloadrsyslog-890f782323849b2ae01cd705312d54a4a0e348fe.tar.gz
rsyslog-890f782323849b2ae01cd705312d54a4a0e348fe.tar.xz
rsyslog-890f782323849b2ae01cd705312d54a4a0e348fe.zip
some cleanup
Diffstat (limited to 'plugins/imklog')
-rw-r--r--plugins/imklog/imklog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imklog/imklog.c b/plugins/imklog/imklog.c
index bfea8c6f..65a05229 100644
--- a/plugins/imklog/imklog.c
+++ b/plugins/imklog/imklog.c
@@ -133,7 +133,7 @@ static rsRetVal writeSyslogV(int iPRI, const char *szFmt, va_list va)
/* here we must create our message object and supply it to the message queue
*/
- CHKiRet(parseAndSubmitMessage(LocalHostName, msgBuf, strlen(msgBuf), MSG_DONT_PARSE_HOSTNAME, NOFLAG, eFLOWCTL_LIGHT_DELAY));
+ CHKiRet(parseAndSubmitMessage((char*)LocalHostName, msgBuf, strlen(msgBuf), MSG_DONT_PARSE_HOSTNAME, NOFLAG, eFLOWCTL_LIGHT_DELAY));
finalize_it:
RETiRet;