summaryrefslogtreecommitdiff
path: root/source3/rpc_client
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
commita71519cf0c75ec26f762d88681a6175a40e36813 (patch)
treee50ea4d887f99299d48ce9e9ab9867363b15be5d /source3/rpc_client
parent91b736d2586d1dcfeb3a5ea915608411e5de440f (diff)
downloadsamba-a71519cf0c75ec26f762d88681a6175a40e36813.tar.gz
samba-a71519cf0c75ec26f762d88681a6175a40e36813.tar.bz2
samba-a71519cf0c75ec26f762d88681a6175a40e36813.zip
Cutover from 2.2.x - missed in merge.
Jeremy. (This used to be commit 87c4d46abe82855dd23c94397c3fc8e245b3778a)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_reg.c6
1 files changed, 2 insertions, 4 deletions
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);