diff options
author | Luke Leighton <lkcl@samba.org> | 1999-10-15 19:23:48 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-10-15 19:23:48 +0000 |
commit | 65df690dcd78ce240e1e1789822e3d3f1c6ac36c (patch) | |
tree | 8a7da0ce6680fae44afbe62989fbbd6739540d72 | |
parent | c941cb581b4bb4204fd32b08993e44ecc49e4455 (diff) | |
download | samba-65df690dcd78ce240e1e1789822e3d3f1c6ac36c.tar.gz samba-65df690dcd78ce240e1e1789822e3d3f1c6ac36c.tar.bz2 samba-65df690dcd78ce240e1e1789822e3d3f1c6ac36c.zip |
renamed "class" local variable to avoid global clash
(This used to be commit 134cb4cdff43192a3039a6cce23f331c80fd1990)
-rw-r--r-- | source3/rpc_client/cli_reg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_reg.c b/source3/rpc_client/cli_reg.c index 89284e9743..c6466f4b4f 100644 --- a/source3/rpc_client/cli_reg.c +++ b/source3/rpc_client/cli_reg.c @@ -258,7 +258,7 @@ BOOL do_reg_flush_key(struct cli_state *cli, uint16 fnum, POLICY_HND *hnd) do a REG Query Key ****************************************************************************/ BOOL do_reg_query_key(struct cli_state *cli, uint16 fnum, POLICY_HND *hnd, - char *class, uint32 *class_len, + char *key_class, uint32 *class_len, uint32 *num_subkeys, uint32 *max_subkeylen, uint32 *max_subkeysize, uint32 *num_values, uint32 *max_valnamelen, uint32 *max_valbufsize, @@ -306,7 +306,7 @@ BOOL do_reg_query_key(struct cli_state *cli, uint16 fnum, POLICY_HND *hnd, valid_query = True; *class_len = r_o.hdr_class.uni_max_len; - unistr2_to_ascii(class, &r_o.uni_class, sizeof(fstring)-1); + unistr2_to_ascii(key_class, &r_o.uni_class, sizeof(fstring)-1); *num_subkeys = r_o.num_subkeys ; *max_subkeylen = r_o.max_subkeylen ; *max_subkeysize = r_o.max_subkeysize; |