r19392: Use torture_setting_* rather than lp_parm_* where possible.
[sfrench/samba-autobuild/.git] / source4 / torture / rpc / async_bind.c
index 952baacbf48f434a3558ffe61808ac66cd9147ae..70333845ff97771fffa5c45535c0453165e40731 100644 (file)
@@ -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");