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/smbd/process.c | |
parent | 642101ac237364fd9be209bf56d3224736626446 (diff) | |
download | samba-74deee3cc9bea2d1bd0c8a7374f8b1dbbbc4b499.tar.gz samba-74deee3cc9bea2d1bd0c8a7374f8b1dbbbc4b499.tar.xz 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/smbd/process.c')
-rw-r--r-- | source3/smbd/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 18b2fd2d308..cc2e2902273 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -1343,7 +1343,7 @@ static connection_struct *switch_message(uint8 type, struct smb_request *req, in if (!change_to_user(conn,session_tag)) { DEBUG(0, ("Error: Could not change to user. Removing " "deferred open, mid=%d.\n", req->mid)); - reply_nterror(req, NT_STATUS_DOS(ERRSRV, ERRbaduid)); + reply_force_doserror(req, ERRSRV, ERRbaduid); return conn; } @@ -1809,7 +1809,7 @@ void chain_reply(struct smb_request *req) * We end up here if there's any error in the chain syntax. Report a * DOS error, just like Windows does. */ - reply_nterror(req, NT_STATUS_DOS(ERRSRV, ERRerror)); + reply_force_doserror(req, ERRSRV, ERRerror); fixup_chain_error_packet(req); done: |