From 120bd9775a286e173a22f7c90b61e107887122e4 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 9 Aug 2010 14:47:55 +0200 Subject: s3-smbd: Make sure the event context is initialized. Signed-off-by: Simo Sorce --- source3/smbd/server.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/smbd/server.c') diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 1a5d81f218..93d7861469 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -816,6 +816,9 @@ extern void build_options(bool screen); NTSTATUS status; uint64_t unique_id; + /* Initialize the event context, it will panic on error */ + smbd_event_context(); + smbd_init_globals(); TimeInit(); -- cgit