diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-10-18 14:23:19 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:21:24 -0500 |
commit | a39f239cb28e4ac6be207d4179bacffce97f1b3e (patch) | |
tree | b9f7e4e7e4c6ad7a5d0107b99c75ee2e9ac2132f /source4/torture/rpc/async_bind.c | |
parent | 19af876bbb7038f5a40cd87eced81661a2fc2ee6 (diff) | |
download | samba-a39f239cb28e4ac6be207d4179bacffce97f1b3e.tar.gz samba-a39f239cb28e4ac6be207d4179bacffce97f1b3e.tar.bz2 samba-a39f239cb28e4ac6be207d4179bacffce97f1b3e.zip |
r19392: Use torture_setting_* rather than lp_parm_* where possible.
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
Diffstat (limited to 'source4/torture/rpc/async_bind.c')
-rw-r--r-- | source4/torture/rpc/async_bind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/async_bind.c b/source4/torture/rpc/async_bind.c index 952baacbf4..70333845ff 100644 --- a/source4/torture/rpc/async_bind.c +++ b/source4/torture/rpc/async_bind.c @@ -50,12 +50,12 @@ BOOL torture_async_bind(struct torture_context *torture) struct dcerpc_pipe **pipe; const struct dcerpc_interface_table **table; - if (!lp_parm_bool(-1, "torture", "async", False)) { + if (!torture_setting_bool(torture, "async", False)) { printf("async bind test disabled - enable async tests to use\n"); return True; } - binding_string = lp_parm_string(-1, "torture", "binding"); + binding_string = torture_setting_string(torture, "binding", NULL); /* talloc context */ mem_ctx = talloc_init("torture_async_bind"); |