summaryrefslogtreecommitdiffstats
path: root/tcpsrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcpsrv.c')
-rw-r--r--tcpsrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcpsrv.c b/tcpsrv.c
index 543425ea..0102bee7 100644
--- a/tcpsrv.c
+++ b/tcpsrv.c
@@ -534,7 +534,7 @@ Run(tcpsrv_t *pThis)
int lenPeer;
errno = 0;
prop.GetString(pThis->pSessions[iTCPSess]->fromHostIP, &pszPeer, &lenPeer);
- errmsg.LogError(0, iRet, "Netstream session %p closed by remote peer %s.\n",
+ errmsg.LogError(0, RS_RET_PEER_CLOSED_CONN, "Netstream session %p closed by remote peer %s.\n",
pThis->pSessions[iTCPSess]->pStrm, pszPeer);
}
pThis->pOnRegularClose(pThis->pSessions[iTCPSess]);