summaryrefslogtreecommitdiff
path: root/source4/lib/events
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-12 10:05:47 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-12 14:21:25 +0100
commita3d5d8378c8edb6baa9ab42b02cee4711a58840b (patch)
treeff36b76fcd9036ad868bc6e6201f04b819331003 /source4/lib/events
parent6802394212f7fefc21d1e2ad257fbeee26238b2d (diff)
downloadsamba-a3d5d8378c8edb6baa9ab42b02cee4711a58840b.tar.gz
samba-a3d5d8378c8edb6baa9ab42b02cee4711a58840b.tar.bz2
samba-a3d5d8378c8edb6baa9ab42b02cee4711a58840b.zip
s4:events: allow nested events until we fixed all code to avoid them
metze
Diffstat (limited to 'source4/lib/events')
-rw-r--r--source4/lib/events/tevent_s4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/events/tevent_s4.c b/source4/lib/events/tevent_s4.c
index 89ca7bbe5c..06bfbf61ed 100644
--- a/source4/lib/events/tevent_s4.c
+++ b/source4/lib/events/tevent_s4.c
@@ -17,6 +17,7 @@
*/
#include "includes.h"
+#define TEVENT_DEPRECATED 1
#include "lib/events/events.h"
/*
@@ -65,6 +66,7 @@ struct tevent_context *s4_event_context_init(TALLOC_CTX *mem_ctx)
ev = tevent_context_init_byname(mem_ctx, NULL);
if (ev) {
tevent_set_debug(ev, ev_wrap_debug, NULL);
+ tevent_loop_allow_nesting(ev);
}
return ev;
}