summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsip/sip_uri.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip/include/pjsip/sip_uri.h')
-rw-r--r--pjsip/include/pjsip/sip_uri.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/pjsip/include/pjsip/sip_uri.h b/pjsip/include/pjsip/sip_uri.h
index 849392f..47b63bd 100644
--- a/pjsip/include/pjsip/sip_uri.h
+++ b/pjsip/include/pjsip/sip_uri.h
@@ -1,4 +1,4 @@
-/* $Id: sip_uri.h 3553 2011-05-05 06:14:19Z nanang $ */
+/* $Id: sip_uri.h 4370 2013-02-26 05:30:00Z nanang $ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
@@ -226,12 +226,12 @@ struct pjsip_uri
};
/**
- * This macro checks that the URL is a "sip:" or "sips:" URL.
+ * This macro checks that the URL is a "sip:" URL.
* @param url The URL (pointer to)
* @return non-zero if TRUE.
*/
#define PJSIP_URI_SCHEME_IS_SIP(url) \
- (pj_strnicmp2(pjsip_uri_get_scheme(url), "sip", 3)==0)
+ (pj_stricmp2(pjsip_uri_get_scheme(url), "sip")==0)
/**
* This macro checks that the URL is a "sips:" URL (not SIP).
@@ -239,7 +239,7 @@ struct pjsip_uri
* @return non-zero if TRUE.
*/
#define PJSIP_URI_SCHEME_IS_SIPS(url) \
- (pj_strnicmp2(pjsip_uri_get_scheme(url), "sips", 4)==0)
+ (pj_stricmp2(pjsip_uri_get_scheme(url), "sips")==0)
/**
* This macro checks that the URL is a "tel:" URL.
@@ -247,7 +247,7 @@ struct pjsip_uri
* @return non-zero if TRUE.
*/
#define PJSIP_URI_SCHEME_IS_TEL(url) \
- (pj_strnicmp2(pjsip_uri_get_scheme(url), "tel", 3)==0)
+ (pj_stricmp2(pjsip_uri_get_scheme(url), "tel")==0)
/**