diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-01-06 20:55:38 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-01-08 13:03:02 +1100 |
commit | dcbba583d9a7acbbd0086889f3be722121754eae (patch) | |
tree | d37efa20436e03b08818c79918aa78becf36a21a /source4/smbd | |
parent | f25409195737e8e9c29495526f6d2f6c58bda037 (diff) | |
download | samba-dcbba583d9a7acbbd0086889f3be722121754eae.tar.gz |
s4-event: added s4_event_context_set_default()
we're still not weaned off event_context_find()
Diffstat (limited to 'source4/smbd')
-rw-r--r-- | source4/smbd/server.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c index e73cdfd659d..99e9c68a87d 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -376,6 +376,9 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[ should hang off that */ event_ctx = s4_event_context_init(talloc_autofree_context()); + /* setup this as the default context */ + s4_event_context_set_default(event_ctx); + if (event_ctx == NULL) { DEBUG(0,("Initializing event context failed\n")); return 1; |