summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-02-29 15:13:02 +0100
committerVolker Lendecke <vl@samba.org>2008-02-29 15:17:38 +0100
commitb50eb31bb4369e2ae22c43ad9f0fa2d9e2385d25 (patch)
treebdeeb1fe39316ca9586d42f78499c4212af10b38 /source3/client
parentf12770079bcf21a3fc3e493504443ea203c95004 (diff)
downloadsamba-b50eb31bb4369e2ae22c43ad9f0fa2d9e2385d25.tar.gz
samba-b50eb31bb4369e2ae22c43ad9f0fa2d9e2385d25.tar.bz2
samba-b50eb31bb4369e2ae22c43ad9f0fa2d9e2385d25.zip
Fix warnings
(This used to be commit 9a966e5593ae4474014aec5d8c68c489ac8ce0c9)
Diffstat (limited to 'source3/client')
-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;