r25035: Fix some more warnings, use service pointer rather than service number in...
[samba.git] / source4 / torture / rpc / countcalls.c
index c1fdc069cb0741de89d236dae064b5e320689e19..0d3df0ffb344327e09c5f252662f5ed93fd733c2 100644 (file)
@@ -111,7 +111,7 @@ BOOL torture_rpc_countcalls(struct torture_context *torture)
        if (!mem_ctx) {
                return False;
        }
-       iface_name = lp_parm_string(-1, "countcalls", "interface");
+       iface_name = lp_parm_string(NULL, "countcalls", "interface");
        if (iface_name != NULL) {
                iface = ndr_table_by_name(iface_name);
                if (!iface) {