git.samba.org
/
gd
/
samba
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r16230: Fix Klocwork #861 and others. localtime and asctime
[gd/samba/.git]
/
source3
/
web
/
statuspage.c
diff --git
a/source3/web/statuspage.c
b/source3/web/statuspage.c
index 7430f4ebf59977360506b130f0c3feb71068c0e6..769ab217b3edb3d6746dc6214184fc3efbd4ef1d 100644
(file)
--- a/
source3/web/statuspage.c
+++ b/
source3/web/statuspage.c
@@
-101,7
+101,7
@@
static char *mapPid2Machine (struct process_id pid)
static char *tstring(time_t t)
{
static pstring buf;
- pstrcpy(buf,
asctime(localtime(&t)
));
+ pstrcpy(buf,
time_to_asc(&t
));
all_string_sub(buf," "," ",sizeof(buf));
return buf;
}