better match WSPP doc name for find flags
authorAndrew Tridgell <tridge@samba.org>
Thu, 15 May 2008 10:46:43 +0000 (20:46 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 15 May 2008 10:46:43 +0000 (20:46 +1000)
(This used to be commit 0e4b8602dec3ec87676c91a99371e5d77fe78196)

source4/smb_server/smb2/find.c

index 6018f1958f8d192aba2d213a7055fe6b637fc142..f1b31d45ce237377af145295241f9bc84a7040aa 100644 (file)
@@ -112,7 +112,7 @@ static NTSTATUS smb2srv_find_backend(struct smb2srv_find_state *state)
                return NT_STATUS_FOOBAR;
        }
 
-       if (info->in.continue_flags & SMB2_CONTINUE_FLAG_NEW) {
+       if (info->in.continue_flags & SMB2_CONTINUE_FLAG_REOPEN) {
                state->ff = talloc(state, union smb_search_first);
                NT_STATUS_HAVE_NO_MEMORY(state->ff);