mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 19:43:03 +00:00
Merged revisions 107461 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r107461 | kpfleming | 2008-03-11 09:33:45 -0500 (Tue, 11 Mar 2008) | 2 lines stop checking for mktime() in the configure script... we don't use it, and the test is buggy under gcc 4.3 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@107462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -542,7 +542,7 @@ static time_t unpackdate(unsigned char *i)
|
||||
t.tm_min += 15 * ((i[6] & 0x7) * 10 + (i[6] >> 4));
|
||||
else
|
||||
t.tm_min -= 15 * ((i[6] & 0x7) * 10 + (i[6] >> 4));
|
||||
return mktime(&t);
|
||||
return ast_mktime(&t, NULL);
|
||||
}
|
||||
|
||||
/*! \brief unpacks bytes (7 bit encoding) at i, len l septets,
|
||||
|
||||
Reference in New Issue
Block a user