summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2002-12-05 00:47:41 +0000
committerHerb Lewis <herb@samba.org>2002-12-05 00:47:41 +0000
commitc77586e2978f0f8c56e7c893e389571ae6106d8a (patch)
tree0fd67062866af3117f8bf9d2d9e18be9fd7d7c51 /source3
parent89a08b1df3894d462f2668f233cc161bddcf7096 (diff)
downloadsamba-c77586e2978f0f8c56e7c893e389571ae6106d8a.tar.gz
samba-c77586e2978f0f8c56e7c893e389571ae6106d8a.tar.bz2
samba-c77586e2978f0f8c56e7c893e389571ae6106d8a.zip
fix stat reporting on put command
(This used to be commit c53e10ff879535e931cb3267d9190fd798d85b31)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index c8529b84f2..76e07cb4f3 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -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;