diff options
author | Kamen Mazdrashki <kamen.mazdrashki@postpath.com> | 2009-10-18 21:28:55 +0300 |
---|---|---|
committer | Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | 2009-10-21 11:49:50 +0300 |
commit | 31168f1fac4c50c078f106a59c6d1da0134212b2 (patch) | |
tree | 90882aded478855deb40bafd4c18eed0802e5bf9 /source4/torture | |
parent | 1ecca31caa8c366264e8b15fdb6363a4a5338cde (diff) | |
download | samba-31168f1fac4c50c078f106a59c6d1da0134212b2.tar.gz samba-31168f1fac4c50c078f106a59c6d1da0134212b2.tar.bz2 samba-31168f1fac4c50c078f106a59c6d1da0134212b2.zip |
s4/drs(tort): Comment typos fixed in drs_util.c
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/drs/drs_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |