From a63b2e4c538c43fb1dd215354bdd0277c0929655 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Sat, 3 Jun 2006 20:40:54 +0000 Subject: [PATCH] remove duplicate code git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31814 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 3 --- 1 file changed, 3 deletions(-) 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" */ -- 2.47.2