From 2daf2897d5c70c0efbeba9b827c62700b9a9537c Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 14 Jun 2008 13:00:53 -0400 Subject: 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) --- source4/client/cifsdd.c | 2 +- source4/client/client.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/client') diff --git a/source4/client/cifsdd.c b/source4/client/cifsdd.c index ce48c7bad1..141b165ad4 100644 --- a/source4/client/cifsdd.c +++ b/source4/client/cifsdd.c @@ -581,7 +581,7 @@ int main(int argc, const char ** argv) } } - ev = event_context_init(talloc_autofree_context()); + ev = s4_event_context_init(talloc_autofree_context()); gensec_init(cmdline_lp_ctx); dump_args(); diff --git a/source4/client/client.c b/source4/client/client.c index 01197e8a9e..e05e195372 100644 --- a/source4/client/client.c +++ b/source4/client/client.c @@ -3228,7 +3228,7 @@ static int do_message_op(const char *netbios_name, const char *desthost, lp_smbcli_options(cmdline_lp_ctx, &smb_options); - ev_ctx = event_context_init(talloc_autofree_context()); + ev_ctx = s4_event_context_init(talloc_autofree_context()); DEBUG( 3, ( "Client started (version %s).\n", SAMBA_VERSION_STRING ) ); -- cgit