]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 276124 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Tue, 13 Jul 2010 19:11:24 +0000 (19:11 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 13 Jul 2010 19:11:24 +0000 (19:11 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

................
  r276124 | russell | 2010-07-13 14:09:42 -0500 (Tue, 13 Jul 2010) | 9 lines

  Merged revisions 276123 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r276123 | russell | 2010-07-13 14:06:53 -0500 (Tue, 13 Jul 2010) | 2 lines

    Use chan->cdr instead of chan_cdr (just like peer->cdr instead of peer_cdr in the last commit).
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@276125 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/features.c

index b205c262449722342b31afbc6f8bb5fb15b22f50..7c0fbaef1cc93dd13c0ad4f0085834e8eeecb995 100644 (file)
@@ -2975,7 +2975,7 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast
                                ast_cdr_specialized_reset(new_peer_cdr, 0);
                        }
                } else {
-                       ast_cdr_specialized_reset(peer_cdr,0); /* nothing changed, reset the peer_cdr  */
+                       ast_cdr_specialized_reset(peer->cdr, 0); /* nothing changed, reset the peer cdr  */
                }
        }