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/libnet/libnet_lookup.c | |
parent | 19af876bbb7038f5a40cd87eced81661a2fc2ee6 (diff) | |
download | samba-a39f239cb28e4ac6be207d4179bacffce97f1b3e.tar.gz samba-a39f239cb28e4ac6be207d4179bacffce97f1b3e.tar.xz samba-a39f239cb28e4ac6be207d4179bacffce97f1b3e.zip |
r19392: Use torture_setting_* rather than lp_parm_* where possible.
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
Diffstat (limited to 'source4/torture/libnet/libnet_lookup.c')
-rw-r--r-- | source4/torture/libnet/libnet_lookup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/libnet/libnet_lookup.c b/source4/torture/libnet/libnet_lookup.c index eb03eb5eca7..7a414b32973 100644 --- a/source4/torture/libnet/libnet_lookup.c +++ b/source4/torture/libnet/libnet_lookup.c @@ -43,9 +43,9 @@ BOOL torture_lookup(struct torture_context *torture) ctx = libnet_context_init(NULL); ctx->cred = cmdline_credentials; - lookup.in.hostname = lp_parm_string(-1, "torture", "host"); + lookup.in.hostname = torture_setting_string(torture, "host", NULL); if (lookup.in.hostname == NULL) { - bindstr = lp_parm_string(-1, "torture", "binding"); + bindstr = torture_setting_string(torture, "binding", NULL); status = dcerpc_parse_binding(mem_ctx, bindstr, &bind); if (NT_STATUS_IS_OK(status)) { lookup.in.hostname = bind->host; @@ -89,9 +89,9 @@ BOOL torture_lookup_host(struct torture_context *torture) ctx = libnet_context_init(NULL); ctx->cred = cmdline_credentials; - lookup.in.hostname = lp_parm_string(-1, "torture", "host"); + lookup.in.hostname = torture_setting_string(torture, "host", NULL); if (lookup.in.hostname == NULL) { - bindstr = lp_parm_string(-1, "torture", "binding"); + bindstr = torture_setting_string(torture, "binding", NULL); status = dcerpc_parse_binding(mem_ctx, bindstr, &bind); if (NT_STATUS_IS_OK(status)) { lookup.in.hostname = bind->host; |