Ignore:
Timestamp:
Feb 26, 2013 5:30:00 AM (7 years ago)
Author:
nanang
Message:

Close #1615: Fixed bug in URI scheme check macro PJSIP_URI_SCHEME_IS_SIP()/SIPS/TEL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/pjsip-perf.c

    r3664 r4370  
    220220    uri = pjsip_uri_get_uri(rdata->msg_info.msg->line.req.uri); 
    221221 
    222     /* Only want to receive SIP scheme */ 
    223     if (!PJSIP_URI_SCHEME_IS_SIP(uri)) 
     222    /* Only want to receive SIP/SIPS scheme */ 
     223    if (!PJSIP_URI_SCHEME_IS_SIP(uri) && !PJSIP_URI_SCHEME_IS_SIPS(uri)) 
    224224        return PJ_FALSE; 
    225225 
     
    281281    uri = pjsip_uri_get_uri(rdata->msg_info.msg->line.req.uri); 
    282282 
    283     /* Only want to receive SIP scheme */ 
    284     if (!PJSIP_URI_SCHEME_IS_SIP(uri)) 
     283    /* Only want to receive SIP/SIPS scheme */ 
     284    if (!PJSIP_URI_SCHEME_IS_SIP(uri) && !PJSIP_URI_SCHEME_IS_SIPS(uri)) 
    285285        return PJ_FALSE; 
    286286 
     
    418418    uri = pjsip_uri_get_uri(rdata->msg_info.msg->line.req.uri); 
    419419 
    420     /* Only want to receive SIP scheme */ 
    421     if (!PJSIP_URI_SCHEME_IS_SIP(uri)) 
     420    /* Only want to receive SIP/SIPS scheme */ 
     421    if (!PJSIP_URI_SCHEME_IS_SIP(uri) && !PJSIP_URI_SCHEME_IS_SIPS(uri)) 
    422422        return PJ_FALSE; 
    423423 
Note: See TracChangeset for help on using the changeset viewer.