mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
remove duplicate code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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" */
|
||||
|
Reference in New Issue
Block a user