git.samba.org
/
garming
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f007f68
)
s4:torture/drs: avoid '//' comments
author
Stefan Metzmacher
<metze@samba.org>
Sat, 8 Oct 2011 05:22:39 +0000
(07:22 +0200)
committer
Stefan 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
patch
|
blob
|
history
diff --git
a/source4/torture/drs/drs_util.c
b/source4/torture/drs/drs_util.c
index 9a071505c72e5df15d6571aa9da2a5b60a620c1b..7809e67103840293ce7e2b848287fc67f79b9d88 100644
(file)
--- 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,