summaryrefslogtreecommitdiffstats
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
parent6a69e478224d1513dbe8501e8978643ba89c8c82 (diff)
downloadrsyslog-724ba2b27f4a2c583b3e257e33a2f0b4b9649ef1.tar.gz
rsyslog-724ba2b27f4a2c583b3e257e33a2f0b4b9649ef1.tar.xz
rsyslog-724ba2b27f4a2c583b3e257e33a2f0b4b9649ef1.zip
bumped version number, corrected error message code (minor nit)
-rw-r--r--configure.ac2
-rw-r--r--doc/manual.html2
-rw-r--r--runtime/rsyslog.h1
-rw-r--r--tcpsrv.c2
4 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index eba3d76f..914969c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
-AC_INIT([rsyslog],[4.5.4],[rsyslog@lists.adiscon.com])
+AC_INIT([rsyslog],[4.5.5],[rsyslog@lists.adiscon.com])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([ChangeLog])
AC_CONFIG_MACRO_DIR([m4])
diff --git a/doc/manual.html b/doc/manual.html
index ed0048bb..2d4b4390 100644
--- a/doc/manual.html
+++ b/doc/manual.html
@@ -19,7 +19,7 @@ rsyslog support</a> available directly from the source!</p>
<p><b>Please visit the <a href="http://www.rsyslog.com/sponsors">rsyslog sponsor's page</a>
to honor the project sponsors or become one yourself!</b> We are very grateful for any help towards the
project goals.</p>
-<p><b>This documentation is for version 4.5.4 (v4-beta branch) of rsyslog.</b>
+<p><b>This documentation is for version 4.5.5 (v4-beta branch) of rsyslog.</b>
Visit the <i><a href="http://www.rsyslog.com/doc-status.html">rsyslog status page</a></i></b>
to obtain current version information and project status.
</p><p><b>If you like rsyslog, you might
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index 8a043dde..eb5b4537 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -367,6 +367,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_FILENAME_INVALID = -2140, /**< filename invalid, not found, no access, ... */
RS_RET_ZLIB_ERR = -2141, /**< error during zlib call */
RS_RET_VAR_NOT_FOUND = -2142, /**< variable not found */
+ RS_RET_PEER_CLOSED_CONN = -2144, /**< remote peer closed connection (information, no error) */
/* RainerScript error messages (range 1000.. 1999) */
RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */
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]);