summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2002-04-17 22:50:02 +0000
committerRichard Sharpe <sharpe@samba.org>2002-04-17 22:50:02 +0000
commit4e5e5481707537c93f8ab7b9eae00498131ed5d9 (patch)
tree67962f67f7e856643b02a1b545f90d3d4ddbe134 /source3/torture/torture.c
parent82b573678d8b271bfaa00a36359916e8579e8499 (diff)
downloadsamba-4e5e5481707537c93f8ab7b9eae00498131ed5d9.tar.gz
samba-4e5e5481707537c93f8ab7b9eae00498131ed5d9.tar.bz2
samba-4e5e5481707537c93f8ab7b9eae00498131ed5d9.zip
Fix smbtorture so it can handle collisions etc ...
(This used to be commit ba4d6c76aabd3d1fd8dc1e2335baf50c58d636a7)
Diffstat (limited to 'source3/torture/torture.c')
-rw-r--r--source3/torture/torture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 23624d0733..cce39d2112 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -707,9 +707,9 @@ static BOOL run_netbench(int client)
if (!strcmp(params[0],"NTCreateX")) {
nb_createx(params[1], ival(params[2]), ival(params[3]),
- ival(params[4]));
+ ival(params[4]),ival(params[5]));
} else if (!strcmp(params[0],"Close")) {
- nb_close(ival(params[1]));
+ nb_close(ival(params[1]),ival(params[2]));
} else if (!strcmp(params[0],"Rename")) {
nb_rename(params[1], params[2]);
} else if (!strcmp(params[0],"Unlink")) {