Changeset 1818 for pjproject/trunk/pjsip/src/test-pjsip/tsx_uas_test.c
- Timestamp:
- Feb 22, 2008 11:10:17 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/test-pjsip/tsx_uas_test.c
r1266 r1818 987 987 988 988 msec = now.sec*1000 + now.msec; 989 msec_expected = (1 << (recv_count-2)) * PJSIP_T1_TIMEOUT;990 if (msec_expected > PJSIP_T2_TIMEOUT)991 msec_expected = PJSIP_T2_TIMEOUT;989 msec_expected = (1 << (recv_count-2)) * pjsip_cfg()->tsx.t1; 990 if (msec_expected > pjsip_cfg()->tsx.t2) 991 msec_expected = pjsip_cfg()->tsx.t2; 992 992 993 993 if (DIFF(msec, msec_expected) > MAX_ALLOWED_DIFF) { … … 1059 1059 1060 1060 msec = now.sec*1000 + now.msec; 1061 msec_expected = (1 << (recv_count-2)) * PJSIP_T1_TIMEOUT;1062 if (msec_expected > PJSIP_T2_TIMEOUT)1063 msec_expected = PJSIP_T2_TIMEOUT;1061 msec_expected = (1 << (recv_count-2)) * pjsip_cfg()->tsx.t1; 1062 if (msec_expected > pjsip_cfg()->tsx.t2) 1063 msec_expected = pjsip_cfg()->tsx.t2; 1064 1064 1065 1065 if (DIFF(msec, msec_expected) > MAX_ALLOWED_DIFF) {
Note: See TracChangeset
for help on using the changeset viewer.