s3-smbd: Make sure the event context is initialized.
authorAndreas Schneider <asn@samba.org>
Mon, 9 Aug 2010 12:47:55 +0000 (14:47 +0200)
committerSimo Sorce <idra@samba.org>
Fri, 13 Aug 2010 16:20:10 +0000 (12:20 -0400)
Signed-off-by: Simo Sorce <idra@samba.org>
source3/smbd/server.c

index 1a5d81f2180ad59097e47eb49cea381d215bec97..93d786146938efb47870a63495e03c7fdf13e5bd 100644 (file)
@@ -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();