diff options
Diffstat (limited to 'plugins/omrelp')
-rw-r--r-- | plugins/omrelp/omrelp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/omrelp/omrelp.c b/plugins/omrelp/omrelp.c index a4b57289..785b6e15 100644 --- a/plugins/omrelp/omrelp.c +++ b/plugins/omrelp/omrelp.c @@ -42,7 +42,6 @@ #include <unistd.h> #include <relp.h> #include <relpclt.h> -#include <pthread.h> #include "syslogd.h" #include "syslogd-types.h" #include "srUtils.h" @@ -462,7 +461,7 @@ CODE_STD_STRING_REQUESTparseSelectorAct(1) */ /* create our relp client */ - CHKiRet(relpCltConstruct(&pData->pRelpClt)); /* we use CHKiRet as librelp has a similar return value range */ + CHKiRet(relpCltConstruct(&pData->pRelpClt, pRelpEngine)); /* we use CHKiRet as librelp has a similar return value range */ /* and set callbacks */ #if 0 // TODO: the same for relp CHKiRet(tcpclt.SetSendInit(pData->pTCPClt, openConn)); |