Changeset 3303 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
- Timestamp:
- Sep 7, 2010 5:10:25 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r3222 r3303 1800 1800 info->online_status_text = pj_str("Offline"); 1801 1801 1802 if (acc->reg_last_err) { 1803 info->status = (pjsip_status_code) acc->reg_last_err; 1804 pj_strerror(acc->reg_last_err, info->buf_, sizeof(info->buf_)); 1805 info->status_text = pj_str(info->buf_); 1806 } else if (acc->reg_last_code) { 1802 if (acc->reg_last_code) { 1807 1803 if (info->has_registration) { 1808 1804 info->status = (pjsip_status_code) acc->reg_last_code; 1809 1805 info->status_text = *pjsip_get_status_text(acc->reg_last_code); 1806 if (acc->reg_last_err) 1807 info->reg_last_err = acc->reg_last_err; 1810 1808 } else { 1811 1809 info->status = (pjsip_status_code) 0;
Note: See TracChangeset
for help on using the changeset viewer.