rsyslog/rsyslog-6.4.1-CheckConnection-no-return-in-nonvoid-function.patch

17 lines
495 B
Diff
Raw Normal View History

Index: runtime/netstrm.c
===================================================================
--- runtime/netstrm.c.orig 2012-09-06 11:00:51.000000000 +0100
+++ runtime/netstrm.c 2012-09-20 22:26:02.000000000 +0100
@@ -253,8 +253,10 @@ EnableKeepAlive(netstrm_t *pThis)
static rsRetVal
CheckConnection(netstrm_t *pThis)
{
+ DEFiRet;
ISOBJ_TYPE_assert(pThis, netstrm);
- pThis->Drvr.CheckConnection(pThis->pDrvrData);
+ iRet = pThis->Drvr.CheckConnection(pThis->pDrvrData);
+ RETiRet;
}