Ignore:
Timestamp:
Jun 29, 2006 9:41:34 AM (18 years ago)
Author:
bennylp
Message:

Fixed minor bug in the display of packet loss percentage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c

    r549 r565  
    13031303               indent, 
    13041304               stat.rx.loss, 
    1305                stat.rx.loss * 100.0 / stat.rx.pkt, 
     1305               stat.rx.loss * 100.0 / (stat.rx.pkt + stat.rx.loss), 
    13061306               stat.rx.dup,  
    1307                stat.rx.dup * 100.0 / stat.rx.pkt, 
     1307               stat.rx.dup * 100.0 / (stat.rx.pkt + stat.rx.dup), 
    13081308               stat.rx.reorder,  
    1309                stat.rx.reorder * 100.0 / stat.rx.pkt, 
     1309               stat.rx.reorder * 100.0 / (stat.rx.pkt + stat.rx.reorder), 
    13101310               indent, indent, 
    13111311               stat.rx.loss_period.min / 1000.0,  
     
    13621362               indent, 
    13631363               stat.tx.loss, 
    1364                stat.tx.loss * 100.0 / stat.tx.pkt, 
     1364               stat.tx.loss * 100.0 / (stat.tx.pkt + stat.tx.loss), 
    13651365               stat.tx.dup,  
    1366                stat.tx.dup * 100.0 / stat.tx.pkt, 
     1366               stat.tx.dup * 100.0 / (stat.tx.pkt + stat.tx.dup), 
    13671367               stat.tx.reorder,  
    1368                stat.tx.reorder * 100.0 / stat.tx.pkt, 
     1368               stat.tx.reorder * 100.0 / (stat.tx.pkt + stat.tx.reorder), 
    13691369 
    13701370               indent, indent, 
Note: See TracChangeset for help on using the changeset viewer.