summaryrefslogtreecommitdiff
path: root/source3/client/client.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-02-29 06:56:06 -0800
committerJeremy Allison <jra@samba.org>2008-02-29 06:56:06 -0800
commitad38725f96c9a285718ea6a515d73508b8db3fca (patch)
tree118aae9040f9514bf6f00df993ca91af34d9ffcb /source3/client/client.c
parent6a7b6a1961b2bb74e25b4134422089f16a32cc9e (diff)
parentc613bd5d4e34caff88deed13cf82608f894e083c (diff)
downloadsamba-ad38725f96c9a285718ea6a515d73508b8db3fca.tar.gz
samba-ad38725f96c9a285718ea6a515d73508b8db3fca.tar.bz2
samba-ad38725f96c9a285718ea6a515d73508b8db3fca.zip
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit e7406822d32d5b36d3706144efbd1eaa7c44cead)
Diffstat (limited to 'source3/client/client.c')
-rw-r--r--source3/client/client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 1410fc2f33..c97f6223a7 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -979,11 +979,10 @@ static int do_get(const char *rname, const char *lname_in, bool reget)
int handle = 0, fnum;
bool newhandle = false;
struct timeval tp_start;
- int read_size = io_bufsize;
uint16 attr;
SMB_OFF_T size;
off_t start = 0;
- off_t nread = 0;
+ ssize_t nread = 0;
int rc = 0;
struct cli_state *targetcli = NULL;
char *targetname = NULL;