diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-06-03 20:40:54 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-06-03 20:40:54 +0000 |
commit | a63b2e4c538c43fb1dd215354bdd0277c0929655 (patch) | |
tree | b7dadd36db32c46f78569fe74764de1cd0edf447 /channels | |
parent | 1a38041830dc7a7db3f16f093542026080e1ae7d (diff) |
remove duplicate code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 3031c7928..81f3ccb65 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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" */ |