summaryrefslogtreecommitdiff
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-08 15:26:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:58 -0500
commit283c690e6efd9b51d63786fac089d7230a3d16ca (patch)
treeebd4fe00afda20a97fb949b1d8625bd1b1dfe7ca /source3/smbd/nttrans.c
parentc78623e9050027759c1055ab17ba15ba31ad9dbd (diff)
downloadsamba-283c690e6efd9b51d63786fac089d7230a3d16ca.tar.gz
samba-283c690e6efd9b51d63786fac089d7230a3d16ca.tar.bz2
samba-283c690e6efd9b51d63786fac089d7230a3d16ca.zip
r20611: All but one callers to set_bad_path_error have had the bad_path==True argument
being handled further up. Volker (This used to be commit 358673c36697a16aa87f9cebbace34abf16ed28e)
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r--source3/smbd/nttrans.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index faa3e25bae..da24e4084d 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -639,7 +639,8 @@ int reply_ntcreate_and_X(connection_struct *conn,
if (!check_name(fname,conn)) {
restore_case_semantics(conn, file_attributes);
END_PROFILE(SMBntcreateX);
- return set_bad_path_error(errno, bad_path, outbuf, ERRDOS,ERRbadpath);
+ return set_bad_path_error(errno, False, outbuf,
+ ERRDOS,ERRbadpath);
}
#if 0
@@ -1265,7 +1266,7 @@ static int call_nt_transact_create(connection_struct *conn, char *inbuf, char *o
/* All file access must go through check_name() */
if (!check_name(fname,conn)) {
restore_case_semantics(conn, file_attributes);
- return set_bad_path_error(errno, bad_path, outbuf, ERRDOS,ERRbadpath);
+ return set_bad_path_error(errno, False, outbuf, ERRDOS,ERRbadpath);
}
#if 0