diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-28 08:09:21 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-28 08:09:21 +0200 |
commit | 76e4eb29d4343d11cb2e4b354f7d7d14df707b7a (patch) | |
tree | b28b7ea4aa35d399c30feecda7a4d41a25e8fb29 /tcpsrv.c | |
parent | 75cf92117c118f9aca37b39f44ad1e1e759f78bf (diff) | |
download | rsyslog-76e4eb29d4343d11cb2e4b354f7d7d14df707b7a.tar.gz rsyslog-76e4eb29d4343d11cb2e4b354f7d7d14df707b7a.tar.xz rsyslog-76e4eb29d4343d11cb2e4b354f7d7d14df707b7a.zip |
fixed memory leaks
Diffstat (limited to 'tcpsrv.c')
-rw-r--r-- | tcpsrv.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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)) { |