commit | 4df2ad9ac6153b2104dcb3e1ae0d27e44125b32e | [log] [tgz] |
---|---|---|
author | Nico Golde <nico@ngolde.de> | Wed Jun 16 15:22:30 2010 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Mon Jun 21 13:51:28 2010 +0200 |
tree | 88b38f3ad50f69b21013c401489ac55d44f6f3ad | |
parent | c8bf3c178f7f43831cf44a28a10031987f74ba89 [diff] |
[SMS] avoid mktime on NULL gmtime(NULL) returns NULL at least in glibc and *can not* be used as time(NULL). Since we compare two time_t values when checking the validity period this can be replaced by time(NULL)