Make up the right dependencies now that ldb depends on libevents
[kai/samba.git] / source4 / torture / rpc / join.c
index cd5eb32fa8196b6442df46a70709a5eb73f10553..77da32d5725ab6a08a63d9cc11854c0bda78f14c 100644 (file)
@@ -48,7 +48,7 @@ bool torture_rpc_join(struct torture_context *torture)
        smbcli_tdis(cli);
         
        /* Leave domain. */                          
-       torture_leave_domain(tj);
+       torture_leave_domain(torture, tj);
         
        /* Join domain as a domain controller. */
        tj = torture_join_domain(torture, TORTURE_NETBIOS_NAME,
@@ -75,7 +75,7 @@ bool torture_rpc_join(struct torture_context *torture)
        smbcli_tdis(cli);
 
        /* Leave domain. */
-       torture_leave_domain(tj);
+       torture_leave_domain(torture, tj);
 
        return true;
 }