s3: "dotareof" only looks at the file type
authorVolker Lendecke <vl@samba.org>
Fri, 27 Nov 2009 11:47:57 +0000 (12:47 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 29 Nov 2009 11:04:05 +0000 (12:04 +0100)
source3/client/clitar.c

index cf5eb6782a63d4795112189cce9abd782ee993b6..cdcdfb19ff60cd29717c4d206eec740db739284e 100644 (file)
@@ -404,7 +404,7 @@ static void dotareof(int f)
        (void) dozerobuf(f, TBLOCK);
        (void) dozerobuf(f, TBLOCK);
 
-       if (sys_fstat(f, &stbuf, lp_fake_dir_create_times()) == -1) {
+       if (sys_fstat(f, &stbuf, false) == -1) {
                DEBUG(0, ("Couldn't stat file handle\n"));
                return;
        }