From 3048e9ad654506219b169a934edded388d10fcad Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 27 Sep 2007 23:31:28 +0000 Subject: r25392: Add loadparm context as argument in a couple more places. (This used to be commit c62f51cc28a37959128e78a1f34cfd4c6d3ba069) --- source4/torture/local/irpc.c | 2 +- source4/torture/local/messaging.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/local') diff --git a/source4/torture/local/irpc.c b/source4/torture/local/irpc.c index e113b63804..ad1b22ca6f 100644 --- a/source4/torture/local/irpc.c +++ b/source4/torture/local/irpc.c @@ -215,7 +215,7 @@ static BOOL irpc_setup(struct torture_context *tctx, void **_data) *_data = data = talloc(tctx, struct irpc_test_data); - lp_set_cmdline("pid directory", "piddir.tmp"); + lp_set_cmdline(global_loadparm, "pid directory", "piddir.tmp"); data->ev = tctx->ev; torture_assert(tctx, data->msg_ctx1 = diff --git a/source4/torture/local/messaging.c b/source4/torture/local/messaging.c index e70fd7c24d..6834c82fae 100644 --- a/source4/torture/local/messaging.c +++ b/source4/torture/local/messaging.c @@ -68,7 +68,7 @@ static bool test_ping_speed(struct torture_context *tctx) uint32_t msg_ping, msg_exit; TALLOC_CTX *mem_ctx = tctx; - lp_set_cmdline("pid directory", "piddir.tmp"); + lp_set_cmdline(global_loadparm, "pid directory", "piddir.tmp"); ev = tctx->ev; -- cgit