diff options
-rw-r--r-- | source3/smbd/nttrans.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 12709f9e02..68eb9f0985 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -716,10 +716,10 @@ void reply_ntcreate_and_X(connection_struct *conn, if (NT_STATUS_EQUAL(status,NT_STATUS_PATH_NOT_COVERED)) { reply_botherror(req, NT_STATUS_PATH_NOT_COVERED, ERRSRV, ERRbadpath); + END_PROFILE(SMBntcreateX); + return; } - else { - reply_nterror(req, status); - } + reply_nterror(req, status); END_PROFILE(SMBntcreateX); return; } |