Changeset 2814


Ignore:
Timestamp:
Jun 25, 2009 1:11:53 PM (15 years ago)
Author:
bennylp
Message:

Ticket #904: Return error instead of asserting when PJSUA-LIB fails to open log file

  • backported changes from #867
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.0/pjsip/src/pjsua-lib/pjsua_core.c

    r2542 r2814  
    644644    if (log_cfg) { 
    645645        status = pjsua_reconfigure_logging(log_cfg); 
    646         PJ_ASSERT_RETURN(status == PJ_SUCCESS, status); 
     646        if (status != PJ_SUCCESS) 
     647            return status; 
    647648    } 
    648649 
Note: See TracChangeset for help on using the changeset viewer.