r19392: Use torture_setting_* rather than lp_parm_* where possible.
[sfrench/samba-autobuild/.git] / source4 / torture / rpc / srvsvc.c
index acc705ca1efaad00387ffc184cb207269eb135fc..f024d1d2abe594960d9e9050ee3d944fa2c397a9 100644 (file)
@@ -1092,7 +1092,7 @@ BOOL torture_rpc_srvsvc(struct torture_context *torture)
         struct dcerpc_pipe *p;
        TALLOC_CTX *mem_ctx;
        BOOL ret = True;
-       const char *binding = lp_parm_string(-1, "torture", "binding");
+       const char *binding = torture_setting_string(torture, "binding", NULL);
        struct cli_credentials *anon_credentials;
 
        mem_ctx = talloc_init("torture_rpc_srvsvc");