Changeset 6159 for pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_legacy.c
- Timestamp:
- Feb 6, 2020 4:02:56 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_legacy.c
r6137 r6159 632 632 li_list[0] = '\0'; 633 633 for (j=0; j<info.listener_cnt; ++j) { 634 char s [10];635 pj_ansi_snprintf(s , sizeof(s), "%d%s",634 char str_info[10]; 635 pj_ansi_snprintf(str_info, sizeof(str_info), "%d%s", 636 636 info.listeners[j], 637 637 (j==info.listener_cnt-1)?"":","); 638 pj_ansi_strcat(li_list, s );638 pj_ansi_strcat(li_list, str_info); 639 639 } 640 640 tr_list[0] = '\0'; 641 641 for (j=0; j<info.transmitter_cnt; ++j) { 642 char s [10];643 pj_ansi_snprintf(s , sizeof(s), "%d%s",642 char str_info[10]; 643 pj_ansi_snprintf(str_info, sizeof(str_info), "%d%s", 644 644 info.transmitters[j], 645 645 (j==info.transmitter_cnt-1)?"":","); 646 pj_ansi_strcat(tr_list, s );646 pj_ansi_strcat(tr_list, str_info); 647 647 } 648 648 pjmedia_fourcc_name(info.format.id, s);
Note: See TracChangeset
for help on using the changeset viewer.