Changeset 4370 for pjproject/trunk/pjsip/include/pjsip/sip_uri.h
- Timestamp:
- Feb 26, 2013 5:30:00 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_uri.h
r3553 r4370 227 227 228 228 /** 229 * This macro checks that the URL is a "sip:" or "sips:"URL.229 * This macro checks that the URL is a "sip:" URL. 230 230 * @param url The URL (pointer to) 231 231 * @return non-zero if TRUE. 232 232 */ 233 233 #define PJSIP_URI_SCHEME_IS_SIP(url) \ 234 (pj_str nicmp2(pjsip_uri_get_scheme(url), "sip", 3)==0)234 (pj_stricmp2(pjsip_uri_get_scheme(url), "sip")==0) 235 235 236 236 /** … … 240 240 */ 241 241 #define PJSIP_URI_SCHEME_IS_SIPS(url) \ 242 (pj_str nicmp2(pjsip_uri_get_scheme(url), "sips", 4)==0)242 (pj_stricmp2(pjsip_uri_get_scheme(url), "sips")==0) 243 243 244 244 /** … … 248 248 */ 249 249 #define PJSIP_URI_SCHEME_IS_TEL(url) \ 250 (pj_str nicmp2(pjsip_uri_get_scheme(url), "tel", 3)==0)250 (pj_stricmp2(pjsip_uri_get_scheme(url), "tel")==0) 251 251 252 252
Note: See TracChangeset
for help on using the changeset viewer.