summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-08-09 14:47:55 +0200
committerSimo Sorce <idra@samba.org>2010-08-13 12:20:10 -0400
commit120bd9775a286e173a22f7c90b61e107887122e4 (patch)
treeb2a2ea3b2008b7693bd1c269b50d0090638ceaff
parent2c99eef35561cf83b3e75d5d56d4fb03311c4aa8 (diff)
downloadsamba-120bd9775a286e173a22f7c90b61e107887122e4.tar.gz
samba-120bd9775a286e173a22f7c90b61e107887122e4.tar.bz2
samba-120bd9775a286e173a22f7c90b61e107887122e4.zip
s3-smbd: Make sure the event context is initialized.
Signed-off-by: Simo Sorce <idra@samba.org>
-rw-r--r--source3/smbd/server.c3
1 files changed, 3 insertions, 0 deletions
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();