summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-12-01 14:49:58 +0100
committerVolker Lendecke <vl@sernet.de>2007-12-05 13:45:11 +0100
commitacaea7ece8b56db47885fb5263e46bee17f83051 (patch)
treea5a3156ff3afc240d4f9440a0c59ee68c20a205f /source3/smbd
parentcb7706cf2c078d09f013b74685aa658af37cf5ba (diff)
downloadsamba-acaea7ece8b56db47885fb5263e46bee17f83051.tar.gz
samba-acaea7ece8b56db47885fb5263e46bee17f83051.tar.bz2
samba-acaea7ece8b56db47885fb5263e46bee17f83051.zip
Tiny refactoring
(This used to be commit 481e35eba8e130041848887ec5fb6212e331eb14)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/nttrans.c6
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;
}