git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix post-transport-crash.
[exim.git]
/
src
/
src
/
tod.c
diff --git
a/src/src/tod.c
b/src/src/tod.c
index 0297e375e5c7940ed5200271c026136927071894..8f095aec661acae74af398ba4b1fbc212e8fff94 100644
(file)
--- a/
src/src/tod.c
+++ b/
src/src/tod.c
@@
-60,7
+60,7
@@
if (type == tod_epoch_l)
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;
}