don't calculate a duration if the CDR wasn't started, as it will result in a
authorRussell Bryant <russell@russellbryant.com>
Wed, 15 Mar 2006 21:59:08 +0000 (21:59 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 15 Mar 2006 21:59:08 +0000 (21:59 +0000)
commit62d5f5a7ead3f7a820629c98bcbafa3a4284b9ca
tree2c48c2b8b7629644b523604c204fc242f9678dd1
parentcb733793191369229b90ef897680d1c0a6070d50
don't calculate a duration if the CDR wasn't started, as it will result in a
totally bogus value.  Thanks, Luigi!  :)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
cdr.c