r26249: Remove a couple more uses of global_loadparm.
[jra/samba/.git] / source4 / torture / rap / rap.c
index 92895772694bab89458946abec0f9b108e1bfbaf..6c07a2747f8dab88eaee01035f154bb8db2821bb 100644 (file)
@@ -536,7 +536,7 @@ bool torture_rap_basic(struct torture_context *torture)
        bool ret = true;
        TALLOC_CTX *mem_ctx;
 
-       if (!torture_open_connection(&cli, 0)) {
+       if (!torture_open_connection(&cli, torture, 0)) {
                return false;
        }
 
@@ -560,7 +560,7 @@ bool torture_rap_scan(struct torture_context *torture)
 
        mem_ctx = talloc_init("torture_rap_scan");
 
-       if (!torture_open_connection(&cli, 0)) {
+       if (!torture_open_connection(&cli, torture, 0)) {
                return false;
        }