summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMatthew Chapman <matty@samba.org>1999-02-01 02:39:37 +0000
committerMatthew Chapman <matty@samba.org>1999-02-01 02:39:37 +0000
commitc80c2e0d9efaf823448d214da448b27ea1cbb863 (patch)
tree7f3668444278dc1b779df5d3c985db45e5a4836b /source3
parent960c760be0b84c4348288eb3bec6dd33e9c5c9b4 (diff)
downloadsamba-c80c2e0d9efaf823448d214da448b27ea1cbb863.tar.gz
samba-c80c2e0d9efaf823448d214da448b27ea1cbb863.tar.bz2
samba-c80c2e0d9efaf823448d214da448b27ea1cbb863.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_parse/parse_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_reg.c b/source3/rpc_parse/parse_reg.c
index ff57535caf..3365a68b3d 100644
--- a/source3/rpc_parse/parse_reg.c
+++ b/source3/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 ? */
}
/*******************************************************************