diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-14 21:50:40 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-14 21:50:40 +0000 |
commit | a45f0ce8a0fded7acff845122856b8b92e8a1e00 (patch) | |
tree | 970b4536445781a1e3046fb0f2fc3c1d10eab080 /channels/chan_mgcp.c | |
parent | eaff648d9b225be366870aade0617c6d8ca2a121 (diff) |
use ast_localtime() in every place localtime_r() was being used
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69392 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_mgcp.c')
-rw-r--r-- | channels/chan_mgcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index 079c6b56e..bda08d7a3 100644 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -2214,7 +2214,7 @@ static int transmit_notify_request_with_callerid(struct mgcp_subchannel *sub, ch struct mgcp_endpoint *p = sub->parent; time(&t); - localtime_r(&t,&tm); + ast_localtime(&t, &tm, NULL); n = callername; l = callernum; if (!n) |