s4:torture/drs: avoid '//' comments
authorStefan Metzmacher <metze@samba.org>
Sat, 8 Oct 2011 05:22:39 +0000 (07:22 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 8 Oct 2011 05:24:15 +0000 (07:24 +0200)
The compiler on openindiana doesn't like them.

metze

source4/torture/drs/drs_util.c

index 9a071505c72e5df15d6571aa9da2a5b60a620c1b..7809e67103840293ce7e2b848287fc67f79b9d88 100644 (file)
@@ -84,8 +84,8 @@ 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-1] = lo_word % 128; // lo_word & 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 */
        }
 
        torture_assert(tctx,