diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-05-02 12:31:02 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-05-02 12:31:02 +0200 |
commit | 4b600b08a1160f09f35e58e6b5dae961f19e9f31 (patch) | |
tree | ec11d9355e0529364611c41ca6081e052ef1ce6c | |
parent | 3cbc0b5f987e8a08960d5b2859ce8ea08e4012c6 (diff) | |
download | rsyslog-4b600b08a1160f09f35e58e6b5dae961f19e9f31.tar.gz rsyslog-4b600b08a1160f09f35e58e6b5dae961f19e9f31.tar.bz2 rsyslog-4b600b08a1160f09f35e58e6b5dae961f19e9f31.zip |
cosmetic cleanup
-rw-r--r-- | tcps_sess.c | 1 | ||||
-rw-r--r-- | tcpsrv.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/tcps_sess.c b/tcps_sess.c index c64a9547..3b03f872 100644 --- a/tcps_sess.c +++ b/tcps_sess.c @@ -469,7 +469,6 @@ DataRcvd(tcps_sess_t *pThis, char *pData, size_t iLen) char *pEnd; DEFiRet; -//printf("DataRcvd: %p\n", pThis); ISOBJ_TYPE_assert(pThis, tcps_sess); assert(pData != NULL); assert(iLen > 0); @@ -530,9 +530,7 @@ doReceive(tcpsrv_t *pThis, tcps_sess_t **ppSess, nspoll_t *pPoll) errmsg.LogError(0, RS_RET_PEER_CLOSED_CONN, "Netstream session %p closed by remote peer %s.\n", (*ppSess)->pStrm, pszPeer); } - //pthread_mutex_lock(&mut); CHKiRet(closeSess(pThis, ppSess, pPoll)); - //pthread_mutex_unlock(&mut); break; case RS_RET_RETRY: /* we simply ignore retry - this is not an error, but we also have not received anything */ |