summaryrefslogtreecommitdiffstats
path: root/tcpsrv.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-28 08:09:21 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-28 08:09:21 +0200
commit76e4eb29d4343d11cb2e4b354f7d7d14df707b7a (patch)
treeb28b7ea4aa35d399c30feecda7a4d41a25e8fb29 /tcpsrv.c
parent75cf92117c118f9aca37b39f44ad1e1e759f78bf (diff)
downloadrsyslog-76e4eb29d4343d11cb2e4b354f7d7d14df707b7a.tar.gz
rsyslog-76e4eb29d4343d11cb2e4b354f7d7d14df707b7a.tar.xz
rsyslog-76e4eb29d4343d11cb2e4b354f7d7d14df707b7a.zip
fixed memory leaks
Diffstat (limited to 'tcpsrv.c')
-rw-r--r--tcpsrv.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tcpsrv.c b/tcpsrv.c
index 638d7019..069c83c0 100644
--- a/tcpsrv.c
+++ b/tcpsrv.c
@@ -333,10 +333,8 @@ SessAccept(tcpsrv_t *pThis, tcps_sess_t **ppSess, netstrm_t *pStrm)
CHKiRet(netstrm.GetRemoteHName(pStrm, &fromHostFQDN));
/* TODO: check if we need to strip the domain name here -- rgerhards, 2008-04-24 */
- /* Here we check if a host is permitted to send us
- * syslog messages. If it isn't, we do not further
- * process the message but log a warning (if we are
- * configured to do this).
+ /* Here we check if a host is permitted to send us messages. If it isn't, we do not further
+ * process the message but log a warning (if we are configured to do this).
* rgerhards, 2005-09-26
*/
if(!pThis->pIsPermittedHost((struct sockaddr*) &addr, (char*) fromHostFQDN, pThis->pUsr, pSess->pUsr)) {