summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-05-17 02:08:55 +0000
committerJeremy Allison <jra@samba.org>2000-05-17 02:08:55 +0000
commit87c4d46abe82855dd23c94397c3fc8e245b3778a (patch)
tree66b7f7d43e685355d804028cd032207f9bd5b55a
parentb090cff4b5fcdef01fc553e6359627bb2285d68e (diff)
downloadsamba-87c4d46abe82855dd23c94397c3fc8e245b3778a.tar.gz
samba-87c4d46abe82855dd23c94397c3fc8e245b3778a.tar.xz
samba-87c4d46abe82855dd23c94397c3fc8e245b3778a.zip
Cutover from 2.2.x - missed in merge.
Jeremy.
-rw-r--r--source/rpc_client/cli_reg.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/rpc_client/cli_reg.c b/source/rpc_client/cli_reg.c
index b5e9cbb2ac2..c92f3f3857e 100644
--- a/source/rpc_client/cli_reg.c
+++ b/source/rpc_client/cli_reg.c
@@ -406,7 +406,7 @@ BOOL do_reg_query_info(struct cli_state *cli, POLICY_HND *hnd,
DEBUG(4,("REG Query Info\n"));
- init_reg_q_info(&q_o, hnd, "ProductType", time(NULL), 4, 1);
+ init_reg_q_info(&q_o, hnd, "ProductType");
/* turn parameters into data stream */
if(!reg_io_q_info("", &q_o, &buf, 0)) {
@@ -438,9 +438,7 @@ BOOL do_reg_query_info(struct cli_state *cli, POLICY_HND *hnd,
return False;
}
- fstrcpy(type, dos_buffer2_to_str(&r_o.uni_type));
- (*unk_0) = r_o.unknown_0;
- (*unk_1) = r_o.unknown_1;
+ fstrcpy(type, dos_buffer2_to_str(r_o.uni_val));
prs_mem_free(&rbuf);