Ignore:
Timestamp:
Dec 13, 2013 11:44:51 AM (10 years ago)
Author:
nanang
Message:

Re #1519: Misc fixes in pjsua2:

  • Changed AccountConfig::toPj() signature, because a pjsua_acc_config instance should not be copied/assigned to another pjsua_acc_config instance as it contains list.
  • Fixed assertion in Endpoint destructor caused by access to pjlib mutex after pjlib is destroyed.
  • Changed VS2005 sample_debug project to allow debugging C++ code such as pjsua2_demo.cpp.
  • Compile warnings on VS2005.
  • Fixed SWIG python unit test.
File:
1 edited

Legend:

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

    r4684 r4692  
    167167    // The following will only work if sizeof(enum)==sizeof(int) 
    168168    pj_assert(sizeof(ts.ciphers[0]) == sizeof(int)); 
    169     ts.ciphers          = (pj_ssl_cipher*)&this->ciphers[0]; 
     169    ts.ciphers          = ts.ciphers_num?  
     170                            (pj_ssl_cipher*)&this->ciphers[0] : NULL; 
    170171    ts.verify_server    = this->verifyServer; 
    171172    ts.verify_client    = this->verifyClient; 
Note: See TracChangeset for help on using the changeset viewer.