summaryrefslogtreecommitdiff
path: root/source3/libsmb/cliquota.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2014-05-08 20:55:57 -0700
committerKarolin Seeger <kseeger@samba.org>2014-06-10 10:58:39 +0200
commit569a4e10d9e063f79ed51a4381df80c19904d9bd (patch)
treed67b9d34150773bfc6c82f82ead5e8d7e1981ab4 /source3/libsmb/cliquota.c
parent236355398a6cdeb54e61578fe6ea4617e860a772 (diff)
downloadsamba-569a4e10d9e063f79ed51a4381df80c19904d9bd.tar.gz
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> (cherry picked from commit 69e24b4e8bc607806453ab137efda6d6bf74fb12)
Diffstat (limited to 'source3/libsmb/cliquota.c')
-rw-r--r--source3/libsmb/cliquota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cliquota.c b/source3/libsmb/cliquota.c
index 9136506e48c..21dc72e35c9 100644
--- a/source3/libsmb/cliquota.c
+++ b/source3/libsmb/cliquota.c
@@ -29,7 +29,7 @@ NTSTATUS cli_get_quota_handle(struct cli_state *cli, uint16_t *quota_fnum)
return cli_ntcreate(cli, FAKE_FILE_NAME_QUOTA_WIN32,
0x00000016, DESIRED_ACCESS_PIPE,
0x00000000, FILE_SHARE_READ|FILE_SHARE_WRITE,
- FILE_OPEN, 0x00000000, 0x03, quota_fnum);
+ FILE_OPEN, 0x00000000, 0x03, quota_fnum, NULL);
}
void free_ntquota_list(SMB_NTQUOTA_LIST **qt_list)