s4/drs(tort): Comment typos fixed in drs_util.c
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>
Sun, 18 Oct 2009 18:28:55 +0000 (21:28 +0300)
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>
Wed, 21 Oct 2009 08:49:50 +0000 (11:49 +0300)
source4/torture/drs/drs_util.c

index b8602c7e5566ddb7964fa4e516f3a051f9184133..d1a1497ea32fbd4b1f1e54f0910c1e47c4ce8b5a 100644 (file)
@@ -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
        }