git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2941 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-08-12 01:55:33 +00:00
parent 9ff5e33735
commit 9766fd900b

View File

@@ -274,6 +274,7 @@ generalizedtime2time (char *s, time_t *t)
{
struct tm tm;
memset(&tm, 0, sizeof(tm));
sscanf (s, "%04d%02d%02d%02d%02d%02dZ",
&tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour,
&tm.tm_min, &tm.tm_sec);