From 8b19c7bc0515d9d58086fe63dc4ee15e0597d9a4 Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Thu, 20 Sep 2012 03:39:48 -0700 Subject: Added missing iRet handler code into CheckConnection() in netstrm.c --- runtime/netstrm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'runtime/netstrm.c') 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; } -- cgit v1.2.3 From dc52b123feff7a8f35dd591639ab5d4dd7e53527 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 20 Sep 2012 15:13:14 +0200 Subject: Simplify --- runtime/netstrm.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'runtime/netstrm.c') diff --git a/runtime/netstrm.c b/runtime/netstrm.c index 841a069c..58f38280 100644 --- a/runtime/netstrm.c +++ b/runtime/netstrm.c @@ -253,11 +253,8 @@ EnableKeepAlive(netstrm_t *pThis) static rsRetVal CheckConnection(netstrm_t *pThis) { - DEFiRet; ISOBJ_TYPE_assert(pThis, netstrm); - CHKiRet(pThis->Drvr.CheckConnection(pThis->pDrvrData)); -finalize_it: - RETiRet; + return pThis->Drvr.CheckConnection(pThis->pDrvrData); } -- cgit v1.2.3