remove duplicate code

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Luigi Rizzo 20 years ago
parent 1a38041830
commit a63b2e4c53

@ -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" */

Loading…
Cancel
Save