mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
ast_channel opaquification of pointers and integral types
Review: https://reviewboard.asterisk.org/r/1753/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@356042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2878,9 +2878,9 @@ static int ospfinished_exec(
|
||||
}
|
||||
ast_debug(1, "OSPFinish: cause '%d'\n", cause);
|
||||
|
||||
if (chan->cdr) {
|
||||
start = chan->cdr->start.tv_sec;
|
||||
connect = chan->cdr->answer.tv_sec;
|
||||
if (ast_channel_cdr(chan)) {
|
||||
start = ast_channel_cdr(chan)->start.tv_sec;
|
||||
connect = ast_channel_cdr(chan)->answer.tv_sec;
|
||||
if (connect) {
|
||||
end = time(NULL);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user