summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-05-05 09:04:49 +0000
committerLuke Leighton <lkcl@samba.org>1998-05-05 09:04:49 +0000
commitf601e6e0484d77d2c43eab05f80bccf28c9055aa (patch)
tree6fc8bd8fd79ec7f051b98740c4dc4007973ecdd4 /source3/rpc_parse
parent20fa298e020027ee8e0a95d91398a18aaa56afff (diff)
downloadsamba-f601e6e0484d77d2c43eab05f80bccf28c9055aa.tar.gz
samba-f601e6e0484d77d2c43eab05f80bccf28c9055aa.tar.bz2
samba-f601e6e0484d77d2c43eab05f80bccf28c9055aa.zip
patches from jean francois: couple of minor bugs
(This used to be commit 532b3956c66eda1b7e787b1c6906bcf574f66216)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_lsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c
index 6eb42fc749..0a49fb7b4d 100644
--- a/source3/rpc_parse/parse_lsa.c
+++ b/source3/rpc_parse/parse_lsa.c
@@ -474,7 +474,7 @@ void lsa_io_trans_names(char *desc, LSA_TRANS_NAME_ENUM *trn, prs_struct *ps, in
prs_uint32(temp, ps, depth, &(trn->ptr_name[i])); /* pointer to translated name */
}
- for (i = 0; i < trn->num_entries2; i++)
+ for (i = 0, i2 = 0; i < trn->num_entries2; i++)
{
if (trn->ptr_name[i] != 0)
{