summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-08-15 18:54:44 +0000
committerAndrew Tridgell <tridge@samba.org>2003-08-15 18:54:44 +0000
commitde10237719db8101cd9487b257761d4721f857ab (patch)
tree7f315aa67f37c64626f881a94abc3d0d1da6e7e5 /source4/libcli
parent8e4ab747b02207671203d40cd2a78692da78faef (diff)
downloadsamba-de10237719db8101cd9487b257761d4721f857ab.tar.gz
samba-de10237719db8101cd9487b257761d4721f857ab.tar.bz2
samba-de10237719db8101cd9487b257761d4721f857ab.zip
more fixes from the IRIX compiler (thanks herb!)
(This used to be commit 02d068ba7d81d6db25122144981c63f74ad44025)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/rawtrans.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/libcli/raw/rawtrans.c b/source4/libcli/raw/rawtrans.c
index 508f920268..f8076f7133 100644
--- a/source4/libcli/raw/rawtrans.c
+++ b/source4/libcli/raw/rawtrans.c
@@ -206,7 +206,6 @@ struct cli_request *smb_raw_trans2_send(struct cli_tree *tree,
int wct = 14 + parms->in.setup_count;
struct cli_request *req;
char *outdata,*outparam;
- int data_sent, param_sent;
int i;
const int padding = 3;
@@ -216,10 +215,8 @@ struct cli_request *smb_raw_trans2_send(struct cli_tree *tree,
}
/* fill in SMB parameters */
- data_sent = parms->in.data.length;
- param_sent = parms->in.params.length;
outparam = req->out.data + padding;
- outdata = outparam + param_sent;
+ outdata = outparam + parms->in.params.length;
/* make sure we don't leak data via the padding */
memset(req->out.data, 0, padding);