Ignore:
Timestamp:
Feb 27, 2013 2:47:37 PM (11 years ago)
Author:
riza
Message:

Re #1615: backported to 1.x

Location:
pjproject/branches/1.x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x

  • pjproject/branches/1.x/pjsip/include/pjsip/sip_uri.h

    r3553 r4404  
    227227 
    228228/** 
    229  * This macro checks that the URL is a "sip:" or "sips:" URL. 
     229 * This macro checks that the URL is a "sip:" URL. 
    230230 * @param url The URL (pointer to) 
    231231 * @return non-zero if TRUE. 
    232232 */ 
    233233#define PJSIP_URI_SCHEME_IS_SIP(url)    \ 
    234     (pj_strnicmp2(pjsip_uri_get_scheme(url), "sip", 3)==0) 
     234    (pj_stricmp2(pjsip_uri_get_scheme(url), "sip")==0) 
    235235 
    236236/** 
     
    240240 */ 
    241241#define PJSIP_URI_SCHEME_IS_SIPS(url)   \ 
    242     (pj_strnicmp2(pjsip_uri_get_scheme(url), "sips", 4)==0) 
     242    (pj_stricmp2(pjsip_uri_get_scheme(url), "sips")==0) 
    243243 
    244244/** 
     
    248248 */ 
    249249#define PJSIP_URI_SCHEME_IS_TEL(url)    \ 
    250     (pj_strnicmp2(pjsip_uri_get_scheme(url), "tel", 3)==0) 
     250    (pj_stricmp2(pjsip_uri_get_scheme(url), "tel")==0) 
    251251 
    252252 
Note: See TracChangeset for help on using the changeset viewer.