summaryrefslogtreecommitdiff
path: root/pjsip-apps
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-05-14 18:23:34 +0000
committerBenny Prijono <bennylp@teluu.com>2006-05-14 18:23:34 +0000
commit612d2349e4664dd90bdf00850f22d2c4f5ee8c16 (patch)
tree0ec2c27cfa237bf089a496dd7dc043b2223b6709 /pjsip-apps
parent4737bd521fcd7722fa27a570be5c610b0f08a1d3 (diff)
Fixed more bugs with multiple frame handling
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@442 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r--pjsip-apps/src/samples/siprtp_report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip-apps/src/samples/siprtp_report.c b/pjsip-apps/src/samples/siprtp_report.c
index 3b8b1ebe..dfb28301 100644
--- a/pjsip-apps/src/samples/siprtp_report.c
+++ b/pjsip-apps/src/samples/siprtp_report.c
@@ -59,7 +59,7 @@ static void print_call(int call_index)
pj_gettimeofday(&now);
/* Print duration */
- if (inv->state >= PJSIP_INV_STATE_CONFIRMED) {
+ if (inv->state >= PJSIP_INV_STATE_CONFIRMED && call->connect_time) {
PJ_TIME_VAL_SUB(now, call->connect_time);