Changeset 6159 for pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_cli.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_cli.c
r6028 r6159 2502 2502 li_list[0] = '\0'; 2503 2503 for (j=0; j<info.listener_cnt; ++j) { 2504 char s [10];2505 pj_ansi_snprintf(s , sizeof(s), "%d%s",2504 char str_info[10]; 2505 pj_ansi_snprintf(str_info, sizeof(str_info), "%d%s", 2506 2506 info.listeners[j], 2507 2507 (j==info.listener_cnt-1)?"":","); 2508 pj_ansi_strcat(li_list, s );2508 pj_ansi_strcat(li_list, str_info); 2509 2509 } 2510 2510 tr_list[0] = '\0'; 2511 2511 for (j=0; j<info.transmitter_cnt; ++j) { 2512 char s [10];2513 pj_ansi_snprintf(s , sizeof(s), "%d%s", info.transmitters[j],2512 char str_info[10]; 2513 pj_ansi_snprintf(str_info, sizeof(str_info), "%d%s", info.transmitters[j], 2514 2514 (j==info.transmitter_cnt-1)?"":","); 2515 pj_ansi_strcat(tr_list, s );2515 pj_ansi_strcat(tr_list, str_info); 2516 2516 } 2517 2517 pjmedia_fourcc_name(info.format.id, s);
Note: See TracChangeset
for help on using the changeset viewer.