Ignore:
Timestamp:
Jun 16, 2006 3:54:43 PM (18 years ago)
Author:
bennylp
Message:

Optimizations mostly in the conference bridge (gained more than 3x faster)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/confsample.c

    r412 r513  
    476476         
    477477        txlist[0] = '\0'; 
    478         for (j=0; j<count; ++j) { 
     478        for (j=0; j<port_info->listener_cnt; ++j) { 
    479479            char s[10]; 
    480             if (port_info->listener[j]) { 
    481                 pj_ansi_sprintf(s, "#%d ", j); 
    482                 pj_ansi_strcat(txlist, s); 
    483             } 
     480            pj_ansi_sprintf(s, "#%d ", port_info->listener_slots[j]); 
     481            pj_ansi_strcat(txlist, s); 
     482 
    484483        } 
    485484 
Note: See TracChangeset for help on using the changeset viewer.