summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-13 14:16:21 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-13 20:31:09 +0100
commitdaa685c00847e28d3fd9e594af9afdfc5d962308 (patch)
treea6ec34403b6ca16a912c27d6b527d5fe2b4bc538
parent290ce331b6e5995095a1237277a2a6a7272986ce (diff)
downloadsamba-daa685c00847e28d3fd9e594af9afdfc5d962308.tar.gz
samba-daa685c00847e28d3fd9e594af9afdfc5d962308.tar.bz2
samba-daa685c00847e28d3fd9e594af9afdfc5d962308.zip
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
-rw-r--r--source3/torture/vfstest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c
index 490dd2bd52..3ed49c021e 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 */