Ignore:
Timestamp:
Nov 27, 2013 9:37:32 AM (9 years ago)
Author:
nanang
Message:

Re #1519: Added presence API in pjsua2.

File:
1 edited

Legend:

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

    r4655 r4657  
    4646    ContainerNode array_node = node.writeNewArray(array_name); 
    4747    for (unsigned i=0; i<v.size(); ++i) { 
    48         array_node.writeNumber("", v[i]); 
     48        array_node.writeNumber("", (float)v[i]); 
    4949    } 
    5050} 
     
    190190    pj_assert(sizeof(prm.ciphers[0]) == sizeof(int)); 
    191191    this->ciphers       = IntVector(prm.ciphers, prm.ciphers+prm.ciphers_num); 
    192     this->verifyServer  = prm.verify_server; 
    193     this->verifyClient  = prm.verify_client; 
    194     this->requireClientCert = prm.require_client_cert; 
     192    this->verifyServer  = PJ2BOOL(prm.verify_server); 
     193    this->verifyClient  = PJ2BOOL(prm.verify_client); 
     194    this->requireClientCert = PJ2BOOL(prm.require_client_cert); 
    195195    this->msecTimeout   = PJ_TIME_VAL_MSEC(prm.timeout); 
    196196    this->qosType       = prm.qos_type; 
    197197    this->qosParams     = prm.qos_params; 
    198     this->qosIgnoreError = prm.qos_ignore_error; 
     198    this->qosIgnoreError = PJ2BOOL(prm.qos_ignore_error); 
    199199} 
    200200 
Note: See TracChangeset for help on using the changeset viewer.