summaryrefslogtreecommitdiffstats
path: root/tcpsrv.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-06-24 17:44:16 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-06-24 17:44:16 +0200
commitdd3e2cae9d3df243ed68c0bed1523a3b891eb893 (patch)
treea733f9f7e37199661c36710e07b07ebd6ff7d6f8 /tcpsrv.c
parentb5d8f5d96aeff3e95cac135f9250da6e9d799382 (diff)
downloadrsyslog-dd3e2cae9d3df243ed68c0bed1523a3b891eb893.tar.gz
rsyslog-dd3e2cae9d3df243ed68c0bed1523a3b891eb893.tar.xz
rsyslog-dd3e2cae9d3df243ed68c0bed1523a3b891eb893.zip
improved gtls error reporting
Diffstat (limited to 'tcpsrv.c')
-rw-r--r--tcpsrv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcpsrv.c b/tcpsrv.c
index b9f45723..60718296 100644
--- a/tcpsrv.c
+++ b/tcpsrv.c
@@ -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;