From daa685c00847e28d3fd9e594af9afdfc5d962308 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 13 Dec 2011 14:16:21 +0100 Subject: [PATCH] s3:vfstest: reload_services() doesn't need a messaging_context It's only used to get the global smbd_server_connection, which is used in conn_snum_used() via lp_killunused(). But there we don't need it, as we don't have any tree connects at startup time. metze --- source3/torture/vfstest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c index 490dd2bd529..3ed49c021e5 100644 --- a/source3/torture/vfstest.c +++ b/source3/torture/vfstest.c @@ -451,7 +451,7 @@ int main(int argc, char *argv[]) lp_load_initial_only(get_dyn_CONFIGFILE()); /* TODO: check output */ - reload_services(smbd_messaging_context(), -1, False); + reload_services(NULL, -1, False); /* the following functions are part of the Samba debugging facilities. See lib/debug.c */ -- 2.34.1