fixed file_index reference
authorAndrew Tridgell <tridge@samba.org>
Fri, 16 May 2008 02:46:16 +0000 (12:46 +1000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 16 May 2008 02:46:16 +0000 (12:46 +1000)
(This used to be commit edb4b38ed33b545d8024f45c602d3f5e4a74c511)

source4/smb_server/smb2/find.c

index f1b31d45ce237377af145295241f9bc84a7040aa..32b280c5c2e4ffca3b722f856b0907c1647fc607 100644 (file)
@@ -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);