From 612d2349e4664dd90bdf00850f22d2c4f5ee8c16 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sun, 14 May 2006 18:23:34 +0000 Subject: Fixed more bugs with multiple frame handling git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@442 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip-apps/src/samples/siprtp_report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pjsip-apps/src') 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); -- cgit v1.2.3