forked from pEp.foundation/pEpEngine
parent
72b0f89205
commit
065b5463b8
|
@ -406,6 +406,7 @@ DYNAMIC_API time_t timegm(timestamp *timeptr)
|
|||
if (!timeptr)
|
||||
return -1;
|
||||
|
||||
timeptr->tm_gmtoff = 0;
|
||||
time_t result = _mkgmtime((struct tm *) timeptr);
|
||||
if (result == -1)
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue