HCoop
/
hcoop
/
debian
/
exim4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import Debian changes 4.89-2+deb9u4
[hcoop/debian/exim4.git]
/
src
/
tod.c
diff --git
a/src/tod.c
b/src/tod.c
index
0297e37
..
5f451ba
100644
(file)
--- a/
src/tod.c
+++ b/
src/tod.c
@@
-2,7
+2,7
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 20
09
*/
+/* Copyright (c) University of Cambridge 1995 - 20
14
*/
/* See the file NOTICE for conditions of use and distribution. */
/* A function for returning the time of day in various formats */
/* See the file NOTICE for conditions of use and distribution. */
/* A function for returning the time of day in various formats */
@@
-60,7
+60,7
@@
if (type == tod_epoch_l)
struct timeval tv;
gettimeofday(&tv, NULL);
/* Unix epoch/usec format */
struct timeval tv;
gettimeofday(&tv, NULL);
/* Unix epoch/usec format */
- (void) sprintf(CS timebuf,
"%ld
%06ld", tv.tv_sec, (long) tv.tv_usec );
+ (void) sprintf(CS timebuf,
TIME_T_FMT "
%06ld", tv.tv_sec, (long) tv.tv_usec );
return timebuf;
}
return timebuf;
}