Ignore:
Timestamp:
May 9, 2019 8:18:18 AM (5 years ago)
Author:
nanang
Message:

Re #1298: Updated PJSIP* to use PJ_ERROR consistently.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_tls.c

    r5971 r5984  
    173173                       pj_status_t status) 
    174174{ 
    175     char errmsg[PJ_ERR_MSG_SIZE]; 
    176  
    177     pj_strerror(status, errmsg, sizeof(errmsg)); 
    178  
    179     PJ_LOG(3,(sender, "%s: %s [code=%d]", title, errmsg, status)); 
     175    PJ_PERROR(3,(sender, status, "%s: [code=%d]", title, status)); 
    180176} 
    181177 
     
    11061102                                     readbuf, 0); 
    11071103    if (status != PJ_SUCCESS && status != PJ_EPENDING) { 
    1108         PJ_LOG(4, (tls->base.obj_name,  
    1109                    "pj_ssl_sock_start_read() error, status=%d",  
    1110                    status)); 
     1104        PJ_PERROR(4, (tls->base.obj_name, status, 
     1105                     "pj_ssl_sock_start_read() error")); 
    11111106        return status; 
    11121107    } 
Note: See TracChangeset for help on using the changeset viewer.