diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2007-06-14 22:09:20 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2007-06-14 22:09:20 +0000 |
commit | 5fdba27ea22e1584759dd3c698922d8444c8eb2a (patch) | |
tree | 9bccdddefcc0defe7b34185794b77a9439806dcd /main/pbx.c | |
parent | 66ec973c5c3db2c5f7e68b4f6cd5895f23e6d10a (diff) |
Merged revisions 69392 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r69392 | kpfleming | 2007-06-14 16:50:40 -0500 (Thu, 14 Jun 2007) | 2 lines
use ast_localtime() in every place localtime_r() was being used
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c index dbd12039a..e01b7c9ad 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -4311,7 +4311,7 @@ int ast_check_timing(const struct ast_timing *i) struct tm tm; time_t t = time(NULL); - localtime_r(&t,&tm); + ast_localtime(&t, &tm, NULL); /* If it's not the right month, return */ if (!(i->monthmask & (1 << tm.tm_mon))) |