git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c9e90e
)
s4:torture/smb2: fix compiler warnings and bugs
author
Stefan Metzmacher
<metze@samba.org>
Fri, 27 Mar 2009 12:25:26 +0000
(13:25 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 27 Mar 2009 12:26:50 +0000
(13:26 +0100)
metze
source4/torture/smb2/durable_open.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/durable_open.c
b/source4/torture/smb2/durable_open.c
index f34dfc4ac1f586767fd905a4b9d2e7fbed7604f3..9cc25e3408f35ba561b4947a2f4d80aa72ab8ee8 100644
(file)
--- a/
source4/torture/smb2/durable_open.c
+++ b/
source4/torture/smb2/durable_open.c
@@
-190,7
+190,7
@@
bool test_durable_open_oplock(struct torture_context *tctx,
struct smb2_tree *tree2)
{
TALLOC_CTX *mem_ctx = talloc_new(tctx);
- struct smb2_create io1, io2
, io3
;
+ struct smb2_create io1, io2;
struct smb2_handle h1;
NTSTATUS status;
const char *fname = "durable_open_oplock.dat";
@@
-297,4
+297,6
@@
struct torture_suite *torture_smb2_durable_open_init(void)
torture_suite_add_2smb2_test(suite, "OPLOCK", test_durable_open_oplock);
suite->description = talloc_strdup(suite, "SMB2-DURABLE-OPEN tests");
+
+ return suite;
}