[asterisk-commits] trunk r31814 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Jun 3 13:40:55 MST 2006


Author: rizzo
Date: Sat Jun  3 15:40:54 2006
New Revision: 31814

URL: http://svn.digium.com/view/asterisk?rev=31814&view=rev
Log:
remove duplicate code


Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=31814&r1=31813&r2=31814&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sat Jun  3 15:40:54 2006
@@ -7154,9 +7154,6 @@
 	/* Get the target domain */
 	if ((a = strchr(uri, '@'))) {
 		*a++ = '\0';
-		colon = strchr(a, ':'); /* Remove :port */
-		if (colon)
-			*colon = '\0';
 	} else {	/* No username part */
 		a = uri;
 		uri = "s";	/* Set extension to "s" */



More information about the asterisk-commits mailing list