r20606: bad_path == True has been covered further up in reply_setatr.
authorVolker Lendecke <vlendec@samba.org>
Mon, 8 Jan 2007 13:18:23 +0000 (13:18 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:16:57 +0000 (12:16 -0500)
I'm checking in micro-steps to make them independently checkable. This code
just very severely needs cleanup, but I don't want to break anything. So, be
patient with me, please :-)

Volker
(This used to be commit c16775486baa89901f0d5126cb926c9e5a807743)

source3/smbd/reply.c

index 646cc795229df7adf77627dfc8328342ecc11156..66bbce064f513a94e51ed54a80d3e2fcf0d3543b 100644 (file)
@@ -1032,7 +1032,8 @@ int reply_setatr(connection_struct *conn, char *inbuf,char *outbuf, int dum_size
   
        if (!ok) {
                END_PROFILE(SMBsetatr);
-               return set_bad_path_error(errno, bad_path, outbuf, ERRDOS, ERRnoaccess);
+               return set_bad_path_error(errno, False, outbuf,
+                                         ERRDOS, ERRnoaccess);
        }
  
        outsize = set_message(outbuf,0,0,False);