From 7edb2a71ad2772917ee10d52daa109e337ab8b18 Mon Sep 17 00:00:00 2001 From: tilghman Date: Mon, 18 Jun 2007 17:48:56 +0000 Subject: Janitor for ast_localtime git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69745 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_rpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_rpt.c') 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"; -- cgit v1.2.3