Initialise NTTIME properly in make_reg_q_enum_key instead of using
authorMatthew Chapman <matty@samba.org>
Mon, 1 Feb 1999 02:39:37 +0000 (02:39 +0000)
committerMatthew Chapman <matty@samba.org>
Mon, 1 Feb 1999 02:39:37 +0000 (02:39 +0000)
unix_to_nt_time hack. Seems to me it's ignored anyway (dummy return
buffer?).
(This used to be commit 1e3873111faf352ef14a098eff250b505ab0b800)

source3/rpc_parse/parse_reg.c

index ff57535caf72a48c57fa6bf87134b826dbb5a9a2..3365a68b3dc531193854a2cea856adc9e8c43a20 100644 (file)
@@ -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;
        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 ? */
 }
 
 /*******************************************************************
 }
 
 /*******************************************************************