summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/rpc/samsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c
index a67a06dcb6..4cecab4017 100644
--- a/source4/torture/rpc/samsync.c
+++ b/source4/torture/rpc/samsync.c
@@ -177,7 +177,7 @@ static struct policy_handle *samsync_open_domain(TALLOC_CTX *mem_ctx,
o.in.sid = *l.out.sid;
o.out.domain_handle = domain_handle;
- if (sid) {
+ if (sid_p) {
*sid_p = *l.out.sid;
}