summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-10-19 19:55:43 +0000
committerLuke Leighton <lkcl@samba.org>1999-10-19 19:55:43 +0000
commit87d92a1f1182a6b4e4dbe91d7f574c7ac8aecb21 (patch)
tree0fc88c021cf841c8487e1614b77022f12fa4ba0e /source3/libsmb
parentbb6de2f1e938d2b8fa565ff2196b666053fa957c (diff)
downloadsamba-87d92a1f1182a6b4e4dbe91d7f574c7ac8aecb21.tar.gz
samba-87d92a1f1182a6b4e4dbe91d7f574c7ac8aecb21.tar.bz2
samba-87d92a1f1182a6b4e4dbe91d7f574c7ac8aecb21.zip
need status codes from cli_net_req_chal() and cli_net_auth2().
this format is what i would like _all_ these functions to be (returning status codes, not BOOL) but that's a horrendous amount of work at the moment :) (This used to be commit 02f240604241367f146b26934ad1a1b2563430de)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clientgen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index f50cd19c38..90ea3d12bf 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -1596,7 +1596,8 @@ size_t cli_read(struct cli_state *cli, int fnum, char *buf, off_t offset, size_t
if (size == 0) return 0;
- while (received < blocks) {
+ while (received < blocks)
+ {
int size2;
while (issued - received < mpx && issued < blocks) {