commit | 840ea13cd9f819ccebfdca50343e6932040b3a8e | [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 | d7090ecfdbb8b09d5520110b6fa8d81918bd50d1 [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)