Changeset 5984 for pjproject/trunk/pjsip/src/pjsip/sip_transport_tcp.c
- Timestamp:
- May 9, 2019 8:18:18 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transport_tcp.c
r5971 r5984 167 167 pj_status_t status) 168 168 { 169 char errmsg[PJ_ERR_MSG_SIZE]; 170 171 pj_strerror(status, errmsg, sizeof(errmsg)); 172 173 PJ_LOG(3,(sender, "%s: %s [code=%d]", title, errmsg, status)); 169 PJ_PERROR(3,(sender, status, "%s: [code=%d]", title, status)); 174 170 } 175 171 … … 966 962 readbuf, 0); 967 963 if (status != PJ_SUCCESS && status != PJ_EPENDING) { 968 PJ_LOG(4, (tcp->base.obj_name, 969 "pj_activesock_start_read() error, status=%d", 970 status)); 964 PJ_PERROR(4, (tcp->base.obj_name, status, 965 "pj_activesock_start_read() error")); 971 966 return status; 972 967 } … … 1687 1682 &enabled, sizeof(enabled)); 1688 1683 if (status != PJ_SUCCESS) { 1689 PJ_LOG(1, ("TRACE", "fail set reuseaddr"));1690 1684 PJ_PERROR(4, (listener->factory.obj_name, status, 1691 "Warning: error applying SO_REUSEADDR"));1685 "Warning: error applying SO_REUSEADDR")); 1692 1686 } 1693 1687 }
Note: See TracChangeset
for help on using the changeset viewer.