diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-06-20 07:03:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:09:13 -0500 |
commit | d3b3436ce1a71464b0f1a9ffa69643cd5c816004 (patch) | |
tree | 4cc3bf72b3a1ecfe11a02ba7c5ce8d59e2252d44 /source4/libcli/smb2/setinfo.c | |
parent | 15db7a53e8273360fcaf6d8b7896d5f2b0d43c47 (diff) | |
download | samba-d3b3436ce1a71464b0f1a9ffa69643cd5c816004.tar.gz samba-d3b3436ce1a71464b0f1a9ffa69643cd5c816004.tar.bz2 samba-d3b3436ce1a71464b0f1a9ffa69643cd5c816004.zip |
r16406: use the generic smb_handle in smb2_getinfo/smb2_setinfo
metze
(This used to be commit dcc02df8297162a7fd913560194d9e821798dbe0)
Diffstat (limited to 'source4/libcli/smb2/setinfo.c')
-rw-r--r-- | source4/libcli/smb2/setinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/smb2/setinfo.c b/source4/libcli/smb2/setinfo.c index 432034b13b..c5fc0577d6 100644 --- a/source4/libcli/smb2/setinfo.c +++ b/source4/libcli/smb2/setinfo.c @@ -45,7 +45,7 @@ struct smb2_request *smb2_setinfo_send(struct smb2_tree *tree, struct smb2_setin } SIVAL(req->out.body, 0x0C, io->in.flags); - smb2_push_handle(req->out.body+0x10, &io->in.handle); + smb2_push_handle(req->out.body+0x10, &io->in.file.handle); smb2_transport_send(req); @@ -92,7 +92,7 @@ struct smb2_request *smb2_setinfo_file_send(struct smb2_tree *tree, union smb_se ZERO_STRUCT(b); b.in.level = smb2_level; - b.in.handle = io->generic.in.file.handle; + b.in.file.handle = io->generic.in.file.handle; if (!smb_raw_setfileinfo_passthru(tree, io->generic.level, io, &b.in.blob)) { return NULL; } |