git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f127700
)
Fix warnings
author
Volker Lendecke
<vl@samba.org>
Fri, 29 Feb 2008 14:13:02 +0000
(15:13 +0100)
committer
Volker Lendecke
<vl@samba.org>
Fri, 29 Feb 2008 14:17:38 +0000
(15:17 +0100)
(This used to be commit
9a966e5593ae4474014aec5d8c68c489ac8ce0c9
)
source3/client/client.c
patch
|
blob
|
history
diff --git
a/source3/client/client.c
b/source3/client/client.c
index 1410fc2f331b5c169112dc665b84ae3d2b7bdf93..c97f6223a78cb7a8a56484d13d928246644a11d1 100644
(file)
--- 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;