mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
s4/drs(tort): Comment typos fixed in drs_util.c
This commit is contained in:
parent
1ecca31caa
commit
31168f1fac
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user