fix stat reporting on put command
authorHerb Lewis <herb@samba.org>
Thu, 5 Dec 2002 00:50:29 +0000 (00:50 +0000)
committerHerb Lewis <herb@samba.org>
Thu, 5 Dec 2002 00:50:29 +0000 (00:50 +0000)
(This used to be commit aa38aaf36338a2c9e708410d6b1befa6d65c93cc)

source3/client/client.c

index c8529b84f2790eb2ca60a94a9b2dc54f7c2ecbb3..76e07cb4f324e59dda9ef7876fa2711964830885 100644 (file)
@@ -1062,7 +1062,7 @@ static int do_put(char *rname, char *lname, BOOL reput)
        int fnum;
        XFILE *f;
        int start = 0;
-       int nread = 0;
+       off_t nread = 0;
        char *buf = NULL;
        int maxwrite = io_bufsize;
        int rc = 0;