Changeset 4682


Ignore:
Timestamp:
Dec 5, 2013 6:35:28 AM (7 years ago)
Author:
bennylp
Message:

Re #1519: fixed crash when receiving typing indication inside a call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/pjsua2/pjsip/src/pjsua2/siptypes.cpp

    r4663 r4682  
    478478    this->statusCode    = tsx.status_code; 
    479479    this->statusText    = pj2Str(tsx.status_text); 
    480     this->lastTx.fromPj(*tsx.last_tx); 
     480    if (tsx.last_tx) 
     481        this->lastTx.fromPj(*tsx.last_tx); 
     482    else 
     483        this->lastTx.pjTxData = NULL; 
    481484    this->pjTransaction = (void *)&tsx; 
    482485} 
Note: See TracChangeset for help on using the changeset viewer.