parse_gentime: use timegm() to generate time since the epoch
The timegm() function is non-standard but widely available. Provide an implementation for those systems that lack it. Bug #1006
This commit is contained in:
@@ -411,9 +411,6 @@ size_t base64_encode(const unsigned char *in, size_t in_len, char *out, size_t o
|
||||
/* timeout.c */
|
||||
int parse_timeout(const char *timestr);
|
||||
|
||||
/* gmtoff.c */
|
||||
long get_gmtoff(time_t *clock);
|
||||
|
||||
/* gentime.c */
|
||||
time_t parse_gentime(const char *expstr);
|
||||
|
||||
|
Reference in New Issue
Block a user