summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-01 09:25:52 +0100
committerVolker Lendecke <vl@samba.org>2008-03-01 09:38:14 +0100
commit1c02bee82928add46f7dd2a5dadc38cc69c49854 (patch)
treec01e9fe526b29268b4c31ed2b2304785940b1780 /source3/client
parent87222d3f11ee4b9ca62d5d66f48772d85dbc7f84 (diff)
downloadsamba-1c02bee82928add46f7dd2a5dadc38cc69c49854.tar.gz
samba-1c02bee82928add46f7dd2a5dadc38cc69c49854.tar.bz2
samba-1c02bee82928add46f7dd2a5dadc38cc69c49854.zip
Revert "Fix warnings"
This reverts commit 9a966e5593ae4474014aec5d8c68c489ac8ce0c9. (This used to be commit 413695e8d0d8232a9c35e693f9a4a8009418ede4)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index c97f6223a7..1410fc2f33 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -979,10 +979,11 @@ 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;
- ssize_t nread = 0;
+ off_t nread = 0;
int rc = 0;
struct cli_state *targetcli = NULL;
char *targetname = NULL;