summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/param/secrets.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/param/secrets.c b/source4/param/secrets.c
index 8fc595fbb05..f6ab5e93fbc 100644
--- a/source4/param/secrets.c
+++ b/source4/param/secrets.c
@@ -139,14 +139,14 @@ struct dom_sid *secrets_get_domain_sid(TALLOC_CTX *mem_ctx,
}
if (sec_channel_type) {
- int v;
- v = ldb_msg_find_attr_as_int(msg, "secureChannelType", -1);
- if (v == -1) {
+ int t;
+ t = ldb_msg_find_attr_as_int(msg, "secureChannelType", -1);
+ if (t == -1) {
*errstring = talloc_asprintf(mem_ctx, "Failed to find secureChannelType for %s in %s",
domain, (char *) ldb_get_opaque(ldb, "ldb_url"));
return NULL;
}
- *sec_channel_type = v;
+ *sec_channel_type = t;
}
result = talloc(mem_ctx, struct dom_sid);