diff options
author | Simo Sorce <idra@samba.org> | 2008-06-14 13:00:53 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-06-14 13:00:53 -0400 |
commit | 2daf2897d5c70c0efbeba9b827c62700b9a9537c (patch) | |
tree | d0236f23f6774f775d2a150361c2f5a9674eaf06 /source4/smbd/server.c | |
parent | 929adc9efa5cf985f0585214d30d18521aa1a821 (diff) | |
download | samba-2daf2897d5c70c0efbeba9b827c62700b9a9537c.tar.gz |
Use a custom init function for samba4 that sets a samba4
specific debug function.
By default do not debug, this is the most appropriate action for a library
as we cannot assume what stderr is use for in the main app.
The main app is responsible to set ev_debug_stderr if they so desire.
(This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
Diffstat (limited to 'source4/smbd/server.c')
-rw-r--r-- | source4/smbd/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c index c1c8b6368f6..74c87c68a44 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -313,7 +313,7 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[ /* the event context is the top level structure in smbd. Everything else should hang off that */ - event_ctx = event_context_init(talloc_autofree_context()); + event_ctx = s4_event_context_init(talloc_autofree_context()); if (event_ctx == NULL) { DEBUG(0,("Initializing event context failed\n")); |