From 627f930100ffb2c4d04ef6cf7a3638677f3abb02 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 8 Oct 2011 07:22:39 +0200 Subject: s4:torture/drs: avoid '//' comments The compiler on openindiana doesn't like them. metze --- source4/torture/drs/drs_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/torture/drs/drs_util.c b/source4/torture/drs/drs_util.c index 9a071505c7..7809e67103 100644 --- a/source4/torture/drs/drs_util.c +++ b/source4/torture/drs/drs_util.c @@ -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, -- cgit