summaryrefslogtreecommitdiffstats
path: root/plugins/imklog
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-15 15:19:53 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-15 15:19:53 +0200
commit0e83bd69fcce2359d1d25022d1cc1263e42219a9 (patch)
tree8ecee2e09e371d3df217f8c5e50584251bcf36a4 /plugins/imklog
parente82c6eec6f91e9c212103d81fdd4b10028c9bf6a (diff)
downloadrsyslog-0e83bd69fcce2359d1d25022d1cc1263e42219a9.tar.gz
rsyslog-0e83bd69fcce2359d1d25022d1cc1263e42219a9.tar.xz
rsyslog-0e83bd69fcce2359d1d25022d1cc1263e42219a9.zip
final work for release of v3.17.1v3.17.1
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 e6bd2326..c6fb1592 100644
--- a/plugins/imklog/imklog.c
+++ b/plugins/imklog/imklog.c
@@ -95,7 +95,7 @@ enqMsg(uchar *msg, uchar* pszTag, int iFacility, int iSeverity)
MsgSetUxTradMsg(pMsg, (char*)msg);
MsgSetRawMsg(pMsg, (char*)msg);
MsgSetMSG(pMsg, (char*)msg);
- MsgSetHOSTNAME(pMsg, LocalHostName);
+ MsgSetHOSTNAME(pMsg, (char*)LocalHostName);
MsgSetTAG(pMsg, (char*)pszTag);
pMsg->iFacility = LOG_FAC(iFacility);
pMsg->iSeverity = LOG_PRI(iSeverity);