Changeset 5813 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
- Timestamp:
- Jun 25, 2018 7:56:57 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r5774 r5813 3536 3536 pjsip_regc_get_info(next_acc->regc, &tmp_regc_info); 3537 3537 if (transport == tmp_regc_info.transport) { 3538 char tmp_buf[PJSUA_MAX_ACC * 4]; 3539 3540 pj_ansi_strncpy(tmp_buf, acc_id, sizeof(acc_id)); 3541 pj_ansi_snprintf(acc_id, sizeof(acc_id), "%s #%d", 3542 tmp_buf, j); 3538 char tmp_buf[4]; 3539 3540 pj_ansi_snprintf(tmp_buf, sizeof(tmp_buf), " #%d", j); 3541 if (pj_ansi_strlen(acc_id) + pj_ansi_strlen(tmp_buf) < 3542 sizeof(acc_id)) 3543 { 3544 pj_ansi_strcat(acc_id, tmp_buf); 3545 } 3546 3543 3547 shut_acc_ids[shut_acc_cnt++] = j; 3544 3548 if (!shutdown_transport) { 3545 3549 shutdown_transport = 3546 next_acc->cfg.ip_change_cfg.shutdown_tp; 3550 next_acc->cfg.ip_change_cfg.shutdown_tp; 3547 3551 } 3548 3552 }
Note: See TracChangeset
for help on using the changeset viewer.