Changeset 3443 for pjproject/trunk/pjsip/src/test/uri_test.c
- Timestamp:
- Mar 15, 2011 5:09:29 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/test/uri_test.c
r2660 r3443 953 953 pj_highprec_mul(avg_parse, AVERAGE_URL_LEN); 954 954 pj_highprec_div(avg_parse, var.parse_len); 955 if (avg_parse == 0) 956 avg_parse = 1; 955 957 avg_parse = 1000000 / avg_parse; 956 958 … … 970 972 pj_highprec_mul(avg_print, AVERAGE_URL_LEN); 971 973 pj_highprec_div(avg_print, var.parse_len); 974 if (avg_print == 0) 975 avg_print = 1; 972 976 avg_print = 1000000 / avg_print; 973 977 … … 987 991 pj_highprec_mul(avg_cmp, AVERAGE_URL_LEN); 988 992 pj_highprec_div(avg_cmp, var.cmp_len); 993 if (avg_cmp == 0) 994 avg_cmp = 1; 989 995 avg_cmp = 1000000 / avg_cmp; 990 996
Note: See TracChangeset
for help on using the changeset viewer.