chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed a null pointer deref.
[disorder]
/
libtests
/
t-dateparse.c
diff --git
a/libtests/t-dateparse.c
b/libtests/t-dateparse.c
index a0a3b0d226c0ece42baea51c7c7947a4fc53ad1d..7926e016c0aed17459924951757ec11da95a50f1 100644
(file)
--- a/
libtests/t-dateparse.c
+++ b/
libtests/t-dateparse.c
@@
-33,7
+33,7
@@
static void check_date(time_t when,
}
static void test_dateparse(void) {
- time_t now = time(0);
+ time_t now =
x
time(0);
check_date(now, "%Y-%m-%d %H:%M:%S", localtime);
#if 0 /* see dateparse.c */
check_date(now, "%Y-%m-%d %H:%M:%S %Z", localtime);