projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8c7174
)
Janitor for ast_localtime
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Mon, 18 Jun 2007 17:48:56 +0000
(17:48 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Mon, 18 Jun 2007 17:48:56 +0000
(17:48 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69745
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_rpt.c
patch
|
blob
|
history
diff --git
a/apps/app_rpt.c
b/apps/app_rpt.c
index
490ac21
..
7ae10fb
100644
(file)
--- 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";