From a71519cf0c75ec26f762d88681a6175a40e36813 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 17 May 2000 02:08:55 +0000 Subject: Cutover from 2.2.x - missed in merge. Jeremy. (This used to be commit 87c4d46abe82855dd23c94397c3fc8e245b3778a) --- source3/rpc_client/cli_reg.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source3') diff --git a/source3/rpc_client/cli_reg.c b/source3/rpc_client/cli_reg.c index b5e9cbb2ac..c92f3f3857 100644 --- a/source3/rpc_client/cli_reg.c +++ b/source3/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); -- cgit