diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-18 17:48:56 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-18 17:48:56 +0000 |
commit | 7edb2a71ad2772917ee10d52daa109e337ab8b18 (patch) | |
tree | 976792317961557ff7f41f139029847e59b12deb /apps/app_rpt.c | |
parent | 1db7ebcb936ca7fd165e69172f79c2e8fd620b37 (diff) |
Janitor for ast_localtime
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69745 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_rpt.c')
-rw-r--r-- | apps/app_rpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_rpt.c b/apps/app_rpt.c index 490ac2197..7ae10fb24 100644 --- a/apps/app_rpt.c +++ b/apps/app_rpt.c @@ -2307,7 +2307,7 @@ static void *rpt_tele_thread(void *this) case STATS_TIME: wait_interval(myrpt, DLY_TELEM, mychannel); /* Wait a little bit */ t = time(NULL); - localtime_r(&t, &localtm); + ast_localtime(&t, &localtm, NULL); /* Say the phase of the day is before the time */ if ((localtm.tm_hour >= 0) && (localtm.tm_hour < 12)) p = "rpt/goodmorning"; |