git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cc86fd
)
s4:torture/locktest: fix compiler warning
author
Stefan Metzmacher
<metze@samba.org>
Mon, 28 May 2012 13:25:24 +0000
(15:25 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 5 Jun 2012 15:33:49 +0000
(17:33 +0200)
metze
source4/torture/locktest.c
patch
|
blob
|
history
diff --git
a/source4/torture/locktest.c
b/source4/torture/locktest.c
index 77fcb69eafd045a9170fa05be4c8a3e78d441004..f43f188fadf490cc1c7fb9a65b14b648ea47fc24 100644
(file)
--- a/
source4/torture/locktest.c
+++ b/
source4/torture/locktest.c
@@
-242,7
+242,7
@@
static bool test_one(struct smbcli_state *cli[NSERVERS][NCONNECTIONS],
parms.lockx.level = RAW_LOCK_LOCKX;
parms.lockx.in.file.fnum = fn;
- ltype = (rec->lock_
op
== READ_LOCK? 1 : 0);
+ ltype = (rec->lock_
type
== READ_LOCK? 1 : 0);
ltype |= LOCKING_ANDX_LARGE_FILES;
parms.lockx.in.mode = ltype;
parms.lockx.in.timeout = LOCK_TIMEOUT;