diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-06-24 17:44:16 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-06-24 17:44:16 +0200 |
commit | dd3e2cae9d3df243ed68c0bed1523a3b891eb893 (patch) | |
tree | a733f9f7e37199661c36710e07b07ebd6ff7d6f8 /tcpsrv.c | |
parent | b5d8f5d96aeff3e95cac135f9250da6e9d799382 (diff) | |
download | rsyslog-dd3e2cae9d3df243ed68c0bed1523a3b891eb893.tar.gz rsyslog-dd3e2cae9d3df243ed68c0bed1523a3b891eb893.tar.xz rsyslog-dd3e2cae9d3df243ed68c0bed1523a3b891eb893.zip |
improved gtls error reporting
Diffstat (limited to 'tcpsrv.c')
-rw-r--r-- | tcpsrv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -478,8 +478,8 @@ Run(tcpsrv_t *pThis) break; default: errno = 0; - errmsg.LogError(NO_ERRCODE, "netstream session %p will be closed due to error\n", - pThis->pSessions[iTCPSess]->pStrm); + errmsg.LogError(NO_ERRCODE, "netstream session %p will be closed due to error [%d]\n", + pThis->pSessions[iTCPSess]->pStrm, iRet); pThis->pOnErrClose(pThis->pSessions[iTCPSess]); tcps_sess.Destruct(&pThis->pSessions[iTCPSess]); break; |