Changeset 5983 for pjproject/trunk/pjnath/src/pjnath/ice_strans.c
- Timestamp:
- May 9, 2019 7:47:39 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/ice_strans.c
r5861 r5983 959 959 const char *title, pj_status_t status) 960 960 { 961 char errmsg[PJ_ERR_MSG_SIZE]; 962 963 pj_strerror(status, errmsg, sizeof(errmsg)); 964 PJ_LOG(4,(ice_st->obj_name, "%s: %s", title, errmsg)); 961 PJ_PERROR(4,(ice_st->obj_name, status, title)); 962 965 963 pj_log_push_indent(); 966 964 … … 1588 1586 if (cb.on_ice_complete) { 1589 1587 if (status != PJ_SUCCESS) { 1590 char errmsg[PJ_ERR_MSG_SIZE]; 1591 pj_strerror(status, errmsg, sizeof(errmsg)); 1592 PJ_LOG(4,(ice_st->obj_name, 1593 "ICE negotiation failed after %ds:%03d: %s", 1594 msec/1000, msec%1000, errmsg)); 1588 PJ_PERROR(4,(ice_st->obj_name, status, 1589 "ICE negotiation failed after %ds:%03d", 1590 msec/1000, msec%1000)); 1595 1591 } else { 1596 1592 unsigned i;
Note: See TracChangeset
for help on using the changeset viewer.