mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
use ast_localtime() in every place localtime_r() was being used
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@69392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -295,7 +295,7 @@ static int phone_call(struct ast_channel *ast, char *dest, int timeout)
|
||||
int start;
|
||||
|
||||
time(&UtcTime);
|
||||
localtime_r(&UtcTime,&tm);
|
||||
ast_localtime(&UtcTime, &tm, NULL);
|
||||
|
||||
memset(&cid, 0, sizeof(PHONE_CID));
|
||||
if(&tm != NULL) {
|
||||
|
Reference in New Issue
Block a user