From 1e3873111faf352ef14a098eff250b505ab0b800 Mon Sep 17 00:00:00 2001 From: Matthew Chapman Date: Mon, 1 Feb 1999 02:39:37 +0000 Subject: [PATCH] Initialise NTTIME properly in make_reg_q_enum_key instead of using unix_to_nt_time hack. Seems to me it's ignored anyway (dummy return buffer?). --- source/rpc_parse/parse_reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/rpc_parse/parse_reg.c b/source/rpc_parse/parse_reg.c index ff57535caf7..3365a68b3dc 100644 --- a/source/rpc_parse/parse_reg.c +++ b/source/rpc_parse/parse_reg.c @@ -1021,7 +1021,7 @@ void make_reg_q_enum_key(REG_Q_ENUM_KEY *q_i, POLICY_HND *pol, uint32 key_idx) memset(q_i->pad2, 0, sizeof(q_i->pad2)); q_i->ptr3 = 1; - unix_to_nt_time(&q_i->time, 0); /* current time? */ + init_nt_time(&(q_i->time)); /* ignored ? */ } /*******************************************************************