From 31168f1fac4c50c078f106a59c6d1da0134212b2 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Sun, 18 Oct 2009 21:28:55 +0300 Subject: s4/drs(tort): Comment typos fixed in drs_util.c --- source4/torture/drs/drs_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/drs') diff --git a/source4/torture/drs/drs_util.c b/source4/torture/drs/drs_util.c index b8602c7e55..d1a1497ea3 100644 --- a/source4/torture/drs/drs_util.c +++ b/source4/torture/drs/drs_util.c @@ -54,7 +54,7 @@ bool drs_util_oid_from_attid(struct torture_context *tctx, && (*map_entry->oid.binary_oid == 0xFF), "Last entry in Prefix Map is not the special one!"); - /* locate correspoding prefixMap entry */ + /* locate corresponding prefixMap entry */ map_entry = NULL; for (i = 0; i < prefix_map->num_mappings - 1; i++) { @@ -81,7 +81,7 @@ bool drs_util_oid_from_attid(struct torture_context *tctx, if (lo_word >= 32768) { lo_word -= 32768; } - bin_oid.data[bin_oid.length-2] = ((lo_word / 128) % 128) + 128; // (0x80 | ((lo_word>>7)&0x7f)) + bin_oid.data[bin_oid.length-2] = ((lo_word / 128) % 128) + 128; // (0x80 | ((lo_word>>7) & 0x7f)) bin_oid.data[bin_oid.length-1] = lo_word % 128; // lo_word & 0x7f } -- cgit