Ignore:
Timestamp:
Jan 11, 2017 11:13:57 AM (2 years ago)
Author:
ming
Message:

Re #1960: Use boolean field to indicate whether the info is empty (instead of relying on bzero and memcmp)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua2/endpoint.hpp

    r5518 r5522  
    165165public: 
    166166    /** 
     167     * Constructor. 
     168     */ 
     169    SslCertInfo(); 
     170 
     171    /** 
    167172     * Check if the info is set with empty values. 
    168173     * 
     
    175180     */ 
    176181    void fromPj(const pj_ssl_cert_info &info); 
     182     
     183private: 
     184    bool empty; 
    177185}; 
    178186 
     
    256264     */ 
    257265    void fromPj(const pjsip_tls_state_info &info); 
     266 
     267private: 
     268    bool empty; 
    258269}; 
    259270 
Note: See TracChangeset for help on using the changeset viewer.