Ignore:
Timestamp:
Dec 12, 2012 6:20:28 AM (11 years ago)
Author:
ming
Message:

Fixed #1598: Assertion when sip error code is not set (thanks Peter Koletzki for the report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c

    r4305 r4306  
    15161516     */ 
    15171517 
    1518     if (pjsua_get_state() != PJSUA_STATE_RUNNING) 
     1518    if (pjsua_get_state() != PJSUA_STATE_RUNNING) { 
     1519        if (sip_err_code) *sip_err_code = PJSIP_SC_SERVICE_UNAVAILABLE; 
    15191520        return PJ_EBUSY; 
     1521    } 
    15201522 
    15211523    if (async) { 
Note: See TracChangeset for help on using the changeset viewer.