[Freeswitch-svn] [commit] r3989 - freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/url
Freeswitch SVN
mikej at freeswitch.org
Thu Jan 18 19:31:49 EST 2007
Author: mikej
Date: Thu Jan 18 19:31:48 2007
New Revision: 3989
Modified:
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/url/url.c
Log:
remove extra bits of code from debugging
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/url/url.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/url/url.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/url/url.c Thu Jan 18 19:31:48 2007
@@ -592,23 +592,12 @@
if (url->url_type == url_sip || url->url_type == url_sips) {
/* SIP URL may have /; in user part */
-#if 1
n = strcspn(s, "@#"); /* Opaque part */
if ((p = strcspn(s, "#")) == n) {
n = strcspn(s, "@");
if (s[n] != '@')
n = 0;
}
-#else
- n = strcspn(s, "@");/* Opaque part */
- if (n == strlen(s)) {
- if ((strchr(s, '#')))
- n = 0;
- } else {
- if (strchr(s + n, '#'))
- n = 0;
- }
-#endif
n += strcspn(s + n, "/;?#");
}
else if (url->url_type == url_wv) {
More information about the Freeswitch-svn
mailing list