summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb2
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-01 14:27:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:42 -0500
commitdd44e2415ce2f0c6afddbb88b0c069ade95dc99f (patch)
tree74c02106137e0d14cc2af52576d93b09b3dbc242 /source4/smb_server/smb2
parentd584033c6c04c0ded37c030a35fae518b09b053a (diff)
downloadsamba-dd44e2415ce2f0c6afddbb88b0c069ade95dc99f.tar.gz
samba-dd44e2415ce2f0c6afddbb88b0c069ade95dc99f.tar.bz2
samba-dd44e2415ce2f0c6afddbb88b0c069ade95dc99f.zip
r16738: vista beta2 use FILE_CLOSED as error for an invalid file handle
metze (This used to be commit fa35ddcaf9bbeaa4780aa3497cdff56b02af0ab9)
Diffstat (limited to 'source4/smb_server/smb2')
-rw-r--r--source4/smb_server/smb2/smb2_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb2/smb2_server.h b/source4/smb_server/smb2/smb2_server.h
index f3ac78dee3..76d11e019c 100644
--- a/source4/smb_server/smb2/smb2_server.h
+++ b/source4/smb_server/smb2/smb2_server.h
@@ -116,7 +116,7 @@ struct smbsrv_request;
#define SMB2SRV_CHECK_FILE_HANDLE(handle) do { \
if (!handle) { \
- smb2srv_send_error(req, NT_STATUS_NOT_FOUND); \
+ smb2srv_send_error(req, NT_STATUS_FILE_CLOSED); \
return; \
} \
} while (0)