summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r--source3/smbd/trans2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index a01e79b624..dbbb2faba9 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -6523,8 +6523,10 @@ static void call_trans2setfilepathinfo(connection_struct *conn,
* ERRDOS/183, we need to return ERRDOS/80, see bug
* 4852.
*/
- return ERROR_BOTH(NT_STATUS_OBJECT_NAME_COLLISION,
+ reply_botherror(req,
+ NT_STATUS_OBJECT_NAME_COLLISION,
ERRDOS, ERRfilexists);
+ return;
}
reply_nterror(req, status);