diff options
author | Jeremy Allison <jra@samba.org> | 2009-12-21 11:16:38 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-12-21 11:16:38 -0800 |
commit | 74deee3cc9bea2d1bd0c8a7374f8b1dbbbc4b499 (patch) | |
tree | 9834b37111948c6eddf8c7aebcffdd78f041bd42 /source3/include | |
parent | 642101ac237364fd9be209bf56d3224736626446 (diff) | |
download | samba-74deee3cc9bea2d1bd0c8a7374f8b1dbbbc4b499.tar.gz samba-74deee3cc9bea2d1bd0c8a7374f8b1dbbbc4b499.tar.bz2 samba-74deee3cc9bea2d1bd0c8a7374f8b1dbbbc4b499.zip |
Rename reply_doserror() -> reply_force_doserror().
Rewrite all calls to reply_nterror(NT_STATUS_DOS()) to
reply_force_doserror() and update the comment in smbd/error.c
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/include/smb_macros.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index f138306f52..8bcde918fd 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6277,7 +6277,7 @@ void error_packet_set(char *outbuf, uint8 eclass, uint32 ecode, NTSTATUS ntstatu int error_packet(char *outbuf, uint8 eclass, uint32 ecode, NTSTATUS ntstatus, int line, const char *file); void reply_nt_error(struct smb_request *req, NTSTATUS ntstatus, int line, const char *file); -void reply_dos_error(struct smb_request *req, uint8 eclass, uint32 ecode, +void reply_force_dos_error(struct smb_request *req, uint8 eclass, uint32 ecode, int line, const char *file); void reply_both_error(struct smb_request *req, uint8 eclass, uint32 ecode, NTSTATUS status, int line, const char *file); diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h index a4a9ca088a..bc5d9a7fe1 100644 --- a/source3/include/smb_macros.h +++ b/source3/include/smb_macros.h @@ -112,7 +112,7 @@ #define ERROR_BOTH(status,class,code) error_packet(outbuf,class,code,status,__LINE__,__FILE__) #define reply_nterror(req,status) reply_nt_error(req,status,__LINE__,__FILE__) -#define reply_doserror(req,eclass,ecode) reply_dos_error(req,eclass,ecode,__LINE__,__FILE__) +#define reply_force_doserror(req,eclass,ecode) reply_force_dos_error(req,eclass,ecode,__LINE__,__FILE__) #define reply_botherror(req,status,eclass,ecode) reply_both_error(req,eclass,ecode,status,__LINE__,__FILE__) #if 0 |