git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/util: Use snprintf() instead of strftime() in timeval_str_buf()
[sfrench/samba-autobuild/.git]
/
lib
/
util
/
time_basic.h
diff --git
a/lib/util/time_basic.h
b/lib/util/time_basic.h
index 58bc02de3caa9dd98d0422f6e527ab4d1185a9ba..b04dead10099dcbb84fc45d9b529d30981cf6ec4 100644
(file)
--- a/
lib/util/time_basic.h
+++ b/
lib/util/time_basic.h
@@
-35,7
+35,7
@@
struct timeval_buf { char buf[128]; };
Put a date and time into dst->buf, return it dst->buf
(optionally with microseconds)
- format is %Y/%m/%d %H:%M:%S
if strftime is available
+ format is %Y/%m/%d %H:%M:%S
**/
char *timeval_str_buf(const struct timeval *tp, bool hires,