diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-11 17:33:13 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-11 17:33:13 +0200 |
commit | 890f782323849b2ae01cd705312d54a4a0e348fe (patch) | |
tree | 220604babca36e229cc64e9926ff9ebb44f694cd /plugins/imfile/imfile.c | |
parent | a7860f4dab1afcf94698bc2f52413e94eed64b52 (diff) | |
download | rsyslog-890f782323849b2ae01cd705312d54a4a0e348fe.tar.gz rsyslog-890f782323849b2ae01cd705312d54a4a0e348fe.tar.bz2 rsyslog-890f782323849b2ae01cd705312d54a4a0e348fe.zip |
some cleanup
Diffstat (limited to 'plugins/imfile/imfile.c')
-rw-r--r-- | plugins/imfile/imfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c index 162cab9f..61b50d06 100644 --- a/plugins/imfile/imfile.c +++ b/plugins/imfile/imfile.c @@ -95,7 +95,7 @@ static rsRetVal enqLine(fileInfo_t *pInfo, cstr_t *cstrLine) MsgSetUxTradMsg(pMsg, (char*)rsCStrGetSzStr(cstrLine)); MsgSetRawMsg(pMsg, (char*)rsCStrGetSzStr(cstrLine)); MsgSetMSG(pMsg, (char*)rsCStrGetSzStr(cstrLine)); - MsgSetHOSTNAME(pMsg, LocalHostName); + MsgSetHOSTNAME(pMsg, (char*)LocalHostName); MsgSetTAG(pMsg, (char*)pInfo->pszTag); pMsg->iFacility = LOG_FAC(pInfo->iFacility); pMsg->iSeverity = LOG_PRI(pInfo->iSeverity); |