summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-16 12:46:16 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-16 12:46:16 +1000
commit2994b483c8e2f99eaf7b80744cb1375822e52a41 (patch)
tree1ffbe85cde4d7af55bca1d14c13baeef5d38fa91
parentd9f47ba00b910ecbe031e635eeaf50b1c05a79cb (diff)
downloadsamba-2994b483c8e2f99eaf7b80744cb1375822e52a41.tar.gz
samba-2994b483c8e2f99eaf7b80744cb1375822e52a41.tar.bz2
samba-2994b483c8e2f99eaf7b80744cb1375822e52a41.zip
fixed file_index reference
(This used to be commit edb4b38ed33b545d8024f45c602d3f5e4a74c511)
-rw-r--r--source4/smb_server/smb2/find.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb2/find.c b/source4/smb_server/smb2/find.c
index f1b31d45ce..32b280c5c2 100644
--- a/source4/smb_server/smb2/find.c
+++ b/source4/smb_server/smb2/find.c
@@ -156,7 +156,7 @@ void smb2srv_find_recv(struct smb2srv_request *req)
info->data_level = RAW_SEARCH_DATA_GENERIC;/* will be overwritten later */
info->in.level = CVAL(req->in.body, 0x02);
info->in.continue_flags = CVAL(req->in.body, 0x03);
- info->in.unknown = IVAL(req->in.body, 0x04);
+ info->in.file_index = IVAL(req->in.body, 0x04);
info->in.file.ntvfs = smb2srv_pull_handle(req, req->in.body, 0x08);
SMB2SRV_CHECK(smb2_pull_o16s16_string(&req->in, info, req->in.body+0x18, &info->in.pattern));
info->in.max_response_size = IVAL(req->in.body, 0x1C);