summaryrefslogtreecommitdiffstats
path: root/tcpsrv.c
diff options
context:
space:
mode:
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;