summaryrefslogtreecommitdiffstats
path: root/source3/torture/nbench.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2014-05-08 20:55:57 -0700
committerStefan Metzmacher <metze@samba.org>2014-05-09 23:10:07 +0200
commit69e24b4e8bc607806453ab137efda6d6bf74fb12 (patch)
tree3eb182e140ac2b5279d6310e44274efecf2e9290 /source3/torture/nbench.c
parent2900dfa5b928ef237e72ac4e15481e083d61750a (diff)
downloadsamba-69e24b4e8bc607806453ab137efda6d6bf74fb12.tar.gz
samba-69e24b4e8bc607806453ab137efda6d6bf74fb12.tar.xz
samba-69e24b4e8bc607806453ab137efda6d6bf74fb12.zip
s3: client : Add extra return parameter to all client open calls.
Add a return parameter of struct smb_create_returns *cr to cli_ntcreate() cli_ntcreate_recv() cli_nttrans_create() cli_nttrans_create_recv() Always pass in NULL for now. This fixes the create API to always fully return the data the server has given back to us on the open file to the caller. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/torture/nbench.c')
-rw-r--r--source3/torture/nbench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/nbench.c b/source3/torture/nbench.c
index cb8a410e2eb..80b5a72054c 100644
--- a/source3/torture/nbench.c
+++ b/source3/torture/nbench.c
@@ -338,7 +338,7 @@ static void nbench_cmd_done(struct tevent_req *subreq)
switch (state->cmd->cmd) {
case NBENCH_CMD_NTCREATEX: {
struct ftable *ft;
- status = cli_ntcreate_recv(subreq, &state->ft->fnum);
+ status = cli_ntcreate_recv(subreq, &state->ft->fnum, NULL);
TALLOC_FREE(subreq);
if (status_wrong(req, state->cmd->status, status)) {
return;