From: Luigi Rizzo Date: Sat, 3 Jun 2006 20:40:54 +0000 (+0000) Subject: remove duplicate code X-Git-Tag: 1.4.0-beta1~1093 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a63b2e4c538c43fb1dd215354bdd0277c0929655;p=thirdparty%2Fasterisk.git remove duplicate code git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31814 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 3031c7928f..81f3ccb657 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" */