summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.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/reply.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/reply.c')
-rw-r--r--source3/smbd/reply.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index e00d8d99a5..63a1889390 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -948,7 +948,8 @@ int reply_getatr(connection_struct *conn, char *inbuf,char *outbuf, int dum_size
if (!ok) {
END_PROFILE(SMBgetatr);
- return set_bad_path_error(errno, bad_path, outbuf, ERRDOS,ERRbadfile);
+ return set_bad_path_error(errno, False, outbuf,
+ ERRDOS,ERRbadfile);
}
outsize = set_message(outbuf,10,0,True);
@@ -4006,7 +4007,8 @@ int reply_rmdir(connection_struct *conn, char *inbuf,char *outbuf, int dum_size,
if (!ok) {
END_PROFILE(SMBrmdir);
- return set_bad_path_error(errno, bad_path, outbuf, ERRDOS, ERRbadpath);
+ return set_bad_path_error(errno, False, outbuf,
+ ERRDOS, ERRbadpath);
}
outsize = set_message(outbuf,0,0,False);