projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
994f057
)
-fix
author
Christian Grothoff
<christian@grothoff.org>
Fri, 29 Jun 2012 20:36:04 +0000
(20:36 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 29 Jun 2012 20:36:04 +0000
(20:36 +0000)
src/util/strings.c
patch
|
blob
|
history
diff --git
a/src/util/strings.c
b/src/util/strings.c
index 9c7f95e7c1a398c17443f98c7224da7011b77983..3167c9610354fea29cbd009dd8566d02805cd2d0 100644
(file)
--- a/
src/util/strings.c
+++ b/
src/util/strings.c
@@
-324,6
+324,7
@@
GNUNET_STRINGS_fancy_time_to_absolute (const char *fancy_time,
struct tm tv;
time_t t;
+ memset (&tv, 0, sizeof (tv));
if ( (NULL == strptime (fancy_time, "%c", &tv)) &&
(NULL == strptime (fancy_time, "%Ec", &tv)) &&
(NULL == strptime (fancy_time, "%Y-%m-%d %H:%M:%S", &tv)) &&