summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Lorbach <alorbach@adiscon.com>2012-09-20 03:39:48 -0700
committerAndre Lorbach <alorbach@adiscon.com>2012-09-20 03:39:48 -0700
commit8b19c7bc0515d9d58086fe63dc4ee15e0597d9a4 (patch)
treef625477a98fc3b5bc57eb479ac82c6b7521779e5
parent1e6469e92096f9f6c04cb80479ab049a9caa4fa2 (diff)
downloadrsyslog-8b19c7bc0515d9d58086fe63dc4ee15e0597d9a4.tar.gz
rsyslog-8b19c7bc0515d9d58086fe63dc4ee15e0597d9a4.tar.bz2
rsyslog-8b19c7bc0515d9d58086fe63dc4ee15e0597d9a4.zip
Added missing iRet handler code into CheckConnection() in netstrm.c
-rw-r--r--runtime/netstrm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/netstrm.c b/runtime/netstrm.c
index 49ba8f35..841a069c 100644
--- a/runtime/netstrm.c
+++ b/runtime/netstrm.c
@@ -253,8 +253,11 @@ EnableKeepAlive(netstrm_t *pThis)
static rsRetVal
CheckConnection(netstrm_t *pThis)
{
+ DEFiRet;
ISOBJ_TYPE_assert(pThis, netstrm);
- pThis->Drvr.CheckConnection(pThis->pDrvrData);
+ CHKiRet(pThis->Drvr.CheckConnection(pThis->pDrvrData));
+finalize_it:
+ RETiRet;
}