summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-08 07:22:39 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-08 07:24:15 +0200
commit627f930100ffb2c4d04ef6cf7a3638677f3abb02 (patch)
tree784670573a2a15b2009a2d73e5b4fe22762d3981
parentf007f68f70f79be3f601bbe0d95748331ab557f2 (diff)
downloadsamba-627f930100ffb2c4d04ef6cf7a3638677f3abb02.tar.gz
samba-627f930100ffb2c4d04ef6cf7a3638677f3abb02.tar.bz2
samba-627f930100ffb2c4d04ef6cf7a3638677f3abb02.zip
s4:torture/drs: avoid '//' comments
The compiler on openindiana doesn't like them. metze
-rw-r--r--source4/torture/drs/drs_util.c4
1 files 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,