git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47712ab
)
s4-torture: fixed a initialiser
author
Andrew Tridgell
<tridge@samba.org>
Thu, 22 Apr 2010 06:44:30 +0000
(16:44 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 22 Apr 2010 09:36:16 +0000
(19:36 +1000)
we were not initialising the whole array
Pair-Programmed-With: Rusty Russell <rusty@samba.org>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/torture/smb2/acls.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/acls.c
b/source4/torture/smb2/acls.c
index 45107083c4950980b672f0958c19c6928fcc8c0c..a857f4dcc527d36c66a4f1c6ef2b5f8fed0c5a3c 100644
(file)
--- a/
source4/torture/smb2/acls.c
+++ b/
source4/torture/smb2/acls.c
@@
-1286,7
+1286,7
@@
static bool test_inheritance_flags(struct torture_context *tctx,
uint32_t parent_get_ace_inherit;
uint32_t child_get_sd_type;
uint32_t child_get_ace_inherit;
- } tflags[16] = {
0
}; /* 2^4 */
+ } tflags[16] = {
{0}
}; /* 2^4 */
for (i = 0; i < 15; i++) {
torture_comment(tctx, "i=%d:", i);