summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-11-29 07:48:24 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2008-11-29 07:48:24 +0100
commit48799529955eff8eb3120b02a356a92a8bd9b2ae (patch)
treee7ed02b0a6708664ca54dd46642268f1e663083d
parentf0ddbed44c332391ae6d9bbf6b07e2f06c4dd676 (diff)
downloadrsyslog-48799529955eff8eb3120b02a356a92a8bd9b2ae.tar.gz
rsyslog-48799529955eff8eb3120b02a356a92a8bd9b2ae.tar.xz
rsyslog-48799529955eff8eb3120b02a356a92a8bd9b2ae.zip
minor cleanup
-rw-r--r--plugins/imgssapi/imgssapi.c1
-rw-r--r--plugins/imtcp/imtcp.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/imgssapi/imgssapi.c b/plugins/imgssapi/imgssapi.c
index d00c51d6..df080020 100644
--- a/plugins/imgssapi/imgssapi.c
+++ b/plugins/imgssapi/imgssapi.c
@@ -185,6 +185,7 @@ isPermittedHost(struct sockaddr *addr, char *fromHostFQDN, void *pUsrSrv, void*p
return allowedMethods;
}
+
static rsRetVal
onSessAccept(tcpsrv_t *pThis, tcps_sess_t *pSess)
{
diff --git a/plugins/imtcp/imtcp.c b/plugins/imtcp/imtcp.c
index 8e7d2905..89f1dbcf 100644
--- a/plugins/imtcp/imtcp.c
+++ b/plugins/imtcp/imtcp.c
@@ -212,7 +212,7 @@ ENDwillRun
BEGINafterRun
CODESTARTafterRun
/* do cleanup here */
- net.clearAllowedSenders((char*)"TCP");
+ net.clearAllowedSenders((uchar*)"TCP");
ENDafterRun