summaryrefslogtreecommitdiffstats
path: root/plugins/imuxsock
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-05-06 15:05:39 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-05-06 15:05:39 +0200
commite0a2745d3f84a2f22ffce029de14e38a6433b402 (patch)
tree7d18d01a3ee8a23d0f34ea2fd037e400911e794e /plugins/imuxsock
parent02795031a3021698baf857ae0c3af0ce38cd7cd4 (diff)
downloadrsyslog-e0a2745d3f84a2f22ffce029de14e38a6433b402.tar.gz
rsyslog-e0a2745d3f84a2f22ffce029de14e38a6433b402.tar.xz
rsyslog-e0a2745d3f84a2f22ffce029de14e38a6433b402.zip
some cleanup (gotten rid of some more plain chars)
Diffstat (limited to 'plugins/imuxsock')
-rw-r--r--plugins/imuxsock/imuxsock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c
index 94f97eb5..4b7cc563 100644
--- a/plugins/imuxsock/imuxsock.c
+++ b/plugins/imuxsock/imuxsock.c
@@ -176,12 +176,12 @@ static rsRetVal readSocket(int fd, int bParseHost, int flags)
{
DEFiRet;
int iRcvd;
- char line[MAXLINE +1];
+ uchar line[MAXLINE +1];
iRcvd = recv(fd, line, MAXLINE - 1, 0);
dbgprintf("Message from UNIX socket: #%d\n", fd);
if (iRcvd > 0) {
- parseAndSubmitMessage((char*)glbl.GetLocalHostName(), line, iRcvd, bParseHost, flags, eFLOWCTL_LIGHT_DELAY);
+ parseAndSubmitMessage(glbl.GetLocalHostName(), line, iRcvd, bParseHost, flags, eFLOWCTL_LIGHT_DELAY);
} else if (iRcvd < 0 && errno != EINTR) {
char errStr[1024];
rs_strerror_r(errno, errStr, sizeof(errStr));