1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

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?).
(This used to be commit 1e3873111faf352ef14a098eff250b505ab0b800)
This commit is contained in:
Matthew Chapman 1999-02-01 02:39:37 +00:00
parent 960c760be0
commit c80c2e0d9e

View 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;
unix_to_nt_time(&q_i->time, 0); /* current time? */
init_nt_time(&(q_i->time)); /* ignored ? */
}
/*******************************************************************