git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e766812
)
Merge from TNG - function to initialise NTTIME structure.
author
Tim Potter
<tpot@samba.org>
Tue, 28 Aug 2001 06:02:18 +0000
(06:02 +0000)
committer
Tim Potter
<tpot@samba.org>
Tue, 28 Aug 2001 06:02:18 +0000
(06:02 +0000)
(This used to be commit
14bc8283f26fb80633575e471de4a15a492113c6
)
source3/lib/time.c
patch
|
blob
|
history
diff --git
a/source3/lib/time.c
b/source3/lib/time.c
index 12643b0522434d8cf0ff76d311a05a5eb060d42b..88be3fa334384261b85f3603afb73807070aa11a 100644
(file)
--- a/
source3/lib/time.c
+++ b/
source3/lib/time.c
@@
-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;
+}