summaryrefslogtreecommitdiffstats
path: root/tcpsrv.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-10-01 18:47:16 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-10-01 18:47:16 +0200
commit724ba2b27f4a2c583b3e257e33a2f0b4b9649ef1 (patch)
treed0b7915293d097b3729b968864db7e9a33247aeb /tcpsrv.c
parent6a69e478224d1513dbe8501e8978643ba89c8c82 (diff)
downloadrsyslog-724ba2b27f4a2c583b3e257e33a2f0b4b9649ef1.tar.gz
rsyslog-724ba2b27f4a2c583b3e257e33a2f0b4b9649ef1.tar.xz
rsyslog-724ba2b27f4a2c583b3e257e33a2f0b4b9649ef1.zip
bumped version number, corrected error message code (minor nit)
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]);