mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Merge from TNG - function to initialise NTTIME structure.
(This used to be commit 14bc8283f2
)
This commit is contained in:
parent
e766812ee0
commit
82901df5e3
@ -596,3 +596,12 @@ time_t get_create_time(SMB_STRUCT_STAT *st,BOOL fake_dirs)
|
||||
return ret;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
initialise an NTTIME to -1, which means "unknown" or "don't expire"
|
||||
****************************************************************************/
|
||||
|
||||
void init_nt_time(NTTIME *nt)
|
||||
{
|
||||
nt->high = 0x7FFFFFFF;
|
||||
nt->low = 0xFFFFFFFF;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user