Ignore:
Timestamp:
May 9, 2019 8:18:18 AM (3 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_udp.c

    r5971 r5984  
    645645                                &sobuf_size, sizeof(sobuf_size)); 
    646646    if (status != PJ_SUCCESS) { 
    647         char errmsg[PJ_ERR_MSG_SIZE]; 
    648         pj_strerror(status, errmsg, sizeof(errmsg)); 
    649         PJ_LOG(4,(THIS_FILE, "Error setting SO_RCVBUF: %s [%d]", errmsg, 
    650                   status)); 
     647        PJ_PERROR(4,(THIS_FILE, status, "Error setting SO_RCVBUF")); 
    651648    } 
    652649#endif 
     
    658655                                &sobuf_size, sizeof(sobuf_size)); 
    659656    if (status != PJ_SUCCESS) { 
    660         char errmsg[PJ_ERR_MSG_SIZE]; 
    661         pj_strerror(status, errmsg, sizeof(errmsg)); 
    662         PJ_LOG(4,(THIS_FILE, "Error setting SO_SNDBUF: %s [%d]", errmsg, 
    663                   status)); 
     657        PJ_PERROR(4,(THIS_FILE, status, "Error setting SO_SNDBUF")); 
    664658    } 
    665659#endif 
Note: See TracChangeset for help on using the changeset viewer.