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/smbd/process_prefork.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/smbd/process_prefork.c') diff --git a/source4/smbd/process_prefork.c b/source4/smbd/process_prefork.c index 839c7209d2..2ffb724a6c 100644 --- a/source4/smbd/process_prefork.c +++ b/source4/smbd/process_prefork.c @@ -115,7 +115,7 @@ static void prefork_new_task(struct event_context *ev, pid = getpid(); /* This is now the child code. We need a completely new event_context to work with */ - ev2 = event_context_init(NULL); + ev2 = s4_event_context_init(NULL); /* the service has given us a private pointer that encapsulates the context it needs for this new connection - @@ -173,7 +173,7 @@ static void prefork_new_task(struct event_context *ev, talloc_free(ev2); /* But we need a events system to handle reaping children */ - ev_parent = event_context_init(NULL); + ev_parent = s4_event_context_init(NULL); /* TODO: Handle some events... */ -- cgit