summaryrefslogtreecommitdiffstats
path: root/runtime/nspoll.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-23 15:33:52 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-23 15:33:52 +0100
commite0d77fa90cad334f308da9cbd4369d61f1c97511 (patch)
tree2cf61bc271b7a50f3b56f3da3d3e90c9ca40cb3d /runtime/nspoll.c
parent02e4a98bac7329f6ab4bb3503839aba7e87881e5 (diff)
downloadrsyslog-e0d77fa90cad334f308da9cbd4369d61f1c97511.tar.gz
rsyslog-e0d77fa90cad334f308da9cbd4369d61f1c97511.tar.xz
rsyslog-e0d77fa90cad334f308da9cbd4369d61f1c97511.zip
milestone commit: first working version with epoll/tcp
... but not well-tested, so there may be many hidden bugs.
Diffstat (limited to 'runtime/nspoll.c')
-rw-r--r--runtime/nspoll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/nspoll.c b/runtime/nspoll.c
index b9a189cb..f287cd4e 100644
--- a/runtime/nspoll.c
+++ b/runtime/nspoll.c
@@ -145,10 +145,10 @@ Wait(nspoll_t *pThis, int timeout, int *idRdy, void **ppUsr) {
* rgerhards, 2009-11-18
*/
static rsRetVal
-Ctl(nspoll_t *pThis, netstrm_t *pStrm, int id, void *pUsr, int op) {
+Ctl(nspoll_t *pThis, netstrm_t *pStrm, int id, void *pUsr, int mode, int op) {
DEFiRet;
ISOBJ_TYPE_assert(pThis, nspoll);
- iRet = pThis->Drvr.Ctl(pThis->pDrvrData, pStrm->pDrvrData, id, pUsr, op);
+ iRet = pThis->Drvr.Ctl(pThis->pDrvrData, pStrm->pDrvrData, id, pUsr, mode, op);
RETiRet;
}