remove duplicate code

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Luigi Rizzo
2006-06-03 20:40:54 +00:00
parent 1a38041830
commit a63b2e4c53

View File

@@ -7154,9 +7154,6 @@ static int get_destination(struct sip_pvt *p, struct sip_request *oreq)
/* 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" */