diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-11-14 12:31:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:18 -0500 |
commit | de5d71aebe4e415fcebbfacb852b190498cbf7bf (patch) | |
tree | 2aa0cf59e9275724f5612fff23cff7655883f37a /source4/libcli/smb2/tcon.c | |
parent | 61317df8aab2fe2fd47baba8a137566df7b23395 (diff) | |
download | samba-de5d71aebe4e415fcebbfacb852b190498cbf7bf.tar.gz samba-de5d71aebe4e415fcebbfacb852b190498cbf7bf.tar.bz2 samba-de5d71aebe4e415fcebbfacb852b190498cbf7bf.zip |
r11722: make the smb2_push/pull functions take a smb2_request_buffer
and the pull ones also a TALLOC_CTX, then we can reuse this functions
in the server later
metze
(This used to be commit 9b616516cae269f0870e9b9a9cecd8ee3f0a9095)
Diffstat (limited to 'source4/libcli/smb2/tcon.c')
-rw-r--r-- | source4/libcli/smb2/tcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/tcon.c b/source4/libcli/smb2/tcon.c index f68987acf7..5e53e11634 100644 --- a/source4/libcli/smb2/tcon.c +++ b/source4/libcli/smb2/tcon.c @@ -66,7 +66,7 @@ struct smb2_request *smb2_tree_connect_send(struct smb2_tree *tree, SBVAL(req->out.hdr, SMB2_HDR_UID, tree->session->uid); SIVAL(req->out.body, 0x00, io->in.unknown1); - status = smb2_push_ofs_blob(req, req->out.body+0x04, path); + status = smb2_push_ofs_blob(&req->out, req->out.body+0x04, path); data_blob_free(&path); if (!NT_STATUS_IS_OK(status)) { talloc_free(req); |