summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvir.c b/libvir.c
index 96ccb28..3888af5 100644
--- a/libvir.c
+++ b/libvir.c
@@ -1651,7 +1651,7 @@ libvirt_virConnectDomainEventRegister(ATTRIBUTE_UNUSED PyObject * self,
ret = virConnectDomainEventRegister(conn,
libvirt_virConnectDomainEventCallback,
- (void *)pyobj_conn_inst);
+ (void *)pyobj_conn_inst, NULL);
LIBVIRT_END_ALLOW_THREADS;