summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-09-20 15:13:14 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-09-20 15:13:14 +0200
commitdc52b123feff7a8f35dd591639ab5d4dd7e53527 (patch)
tree2a00ec9741a3aa26317aefd23f6a88e937813569
parent8b19c7bc0515d9d58086fe63dc4ee15e0597d9a4 (diff)
downloadrsyslog-dc52b123feff7a8f35dd591639ab5d4dd7e53527.tar.gz
rsyslog-dc52b123feff7a8f35dd591639ab5d4dd7e53527.tar.bz2
rsyslog-dc52b123feff7a8f35dd591639ab5d4dd7e53527.zip
Simplify
-rw-r--r--runtime/netstrm.c5
1 files changed, 1 insertions, 4 deletions
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);
}