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_endpoint.c

    r5971 r5984  
    524524    status = pjsip_resolver_create(endpt->pool, &endpt->resolver); 
    525525    if (status != PJ_SUCCESS) { 
    526         PJ_LOG(4, (THIS_FILE, "Error creating resolver instance")); 
     526        PJ_PERROR(4, (THIS_FILE, status, 
     527                      "Error creating resolver instance")); 
    527528        goto on_error; 
    528529    } 
     
    568569    pj_pool_release( endpt->pool ); 
    569570 
    570     PJ_LOG(4, (THIS_FILE, "Error creating endpoint")); 
     571    PJ_PERROR(4, (THIS_FILE, status, "Error creating endpoint")); 
    571572    return status; 
    572573} 
     
    580581    exit_cb *ecb; 
    581582 
    582     PJ_LOG(5, (THIS_FILE, "Destroying endpoing instance..")); 
     583    PJ_LOG(5, (THIS_FILE, "Destroying endpoint instance..")); 
    583584 
    584585    /* Phase 1: stop all modules */ 
Note: See TracChangeset for help on using the changeset viewer.